hello everyone
i'm trying to do something very similar to Grid / Hierarchy with Templates but i can't use the datasource the same way.
We use Entity Framework with custom object and so we need to databind the data with the event OnNeedDataSource.
Everything is working fine except that the HierarchyLoadMode="ServerBind" doesn't work because i can't set (or don't know how to) set the nestedViewSettings so the grid load all the usercontrol that is on the nestedView.
I want to load the user control only when it is showed and not in any other case.
I tried to let the usercontrol be load but without bind the data on it. At this point it's fast enough but I can't figure out which row is expand in the page_load to know if i have to load the data or not.
i'm trying to do something very similar to Grid / Hierarchy with Templates but i can't use the datasource the same way.
We use Entity Framework with custom object and so we need to databind the data with the event OnNeedDataSource.
Everything is working fine except that the HierarchyLoadMode="ServerBind" doesn't work because i can't set (or don't know how to) set the nestedViewSettings so the grid load all the usercontrol that is on the nestedView.
I want to load the user control only when it is showed and not in any other case.
I tried to let the usercontrol be load but without bind the data on it. At this point it's fast enough but I can't figure out which row is expand in the page_load to know if i have to load the data or not.