Hello
I don't know if this is because I'm using LLBL or if it is a genreral .NET problem.
However, I'm binding my data to a GridView, but when I click the edit button, it as if nothing happens - I certainly don't get my EditTemplate for the fields.
ProductTypeOptionAttributeCombinationCollection combos = new ProductTypeOptionAttributeCombinationCollection();
PredicateExpression filter = new PredicateExpression();
filter.Add(ProductTypeOptionAttributeCombinationFields.ProductId == m_iProductID);
LLBLGenProDataSource dsCombos = new LLBLGenProDataSource();
dsCombos.CacheLocation = DataSourceCacheLocation.Session;
dsCombos.DataContainerType = DataSourceDataContainerType.EntityCollection;
dsCombos.EnablePaging = false;
dsCombos.EntityCollection = combos;
dsCombos.EntityCollectionTypeName = "RedStarEnergy.DAL.CollectionClasses.ProductTypeOptionAttributeCombinationCollection";
dsCombos.FilterToUse = filter;
gvOptions.DataSource = dsCombos;
gvOptions.DataBind();
Any help would be really appreciated.
Regards
Darren