I want to load on demand for a RadGridView1 I have. I setup the GridViewTemplate1 as shown in the example provided here :
http://www.telerik.com/help/winforms/gridview-hierarchical-grid-load-on-demand-hierarchy.html
Now I want to do the same to the child of the GridViewTemplate1. Everything was done exactly as the example provided again for the child's child but for some reason, when expanding the node (row), the event RowSourceNeeded doesn't fire (it only fires when the master templates rows are expanded). Why is that?
By the way, I already setup the GridView so that GridViewTemplate1 is the child of the master template. And GridViewTemplate2 is the child of GridViewTemplate1 but I didn't include the code for that here.
http://www.telerik.com/help/winforms/gridview-hierarchical-grid-load-on-demand-hierarchy.html
Now I want to do the same to the child of the GridViewTemplate1. Everything was done exactly as the example provided again for the child's child but for some reason, when expanding the node (row), the event RowSourceNeeded doesn't fire (it only fires when the master templates rows are expanded). Why is that?
GridViewTemplate1.HierarchyDataProvider _
=
New
GridViewEventDataProvider(GridViewTemplate1)
GridViewTemplate2.HierarchyDataProvider _
=
New
GridViewEventDataProvider(GridViewTemplate2)
By the way, I already setup the GridView so that GridViewTemplate1 is the child of the master template. And GridViewTemplate2 is the child of GridViewTemplate1 but I didn't include the code for that here.