Hello everyone,
I've been using Telerik's aspx AJAX controls for a while now and I just started to review their winforms controls for a legacy project. I've read through the online documentation for the GridView and I'm still struggling to bind my data successfully. Here's my structure.
Rooms
- Products
- - Related Products
I need each level to be capable of drag and drop to other controls in the application so it appears that I need a total of three templates (two in addition to the master). In my testing I've been manually databinding the grid and I've managed to load my rooms when the form loads. I've then chosen to use the "MasterTemplate_RowSourceNeeded" to load my first level products when a room is expanded (which works as expected). Now I'm struggling to add the final level (Related Products). I've tried adding a Related Products template at runtime when the Products level is being filled (no issues here). I then added a relationship to the gridview to relate the products with their related products and while this doesn't produce an error the Related Products aren't visible in the gridview. I then tried manually creating each Related Product row within the related template using a dataview's filter to get the related products. Again this ran without error but clicking the drop arrow next to the Product only changes the drop arrow to the opened state with no Related Products being shown. I've tried to watch a handful of the databinding videos on Telerik's website but the video doesn't show (like a white box is over the video).
Any help is greatly appreciated :)
I've been using Telerik's aspx AJAX controls for a while now and I just started to review their winforms controls for a legacy project. I've read through the online documentation for the GridView and I'm still struggling to bind my data successfully. Here's my structure.
Rooms
- Products
- - Related Products
I need each level to be capable of drag and drop to other controls in the application so it appears that I need a total of three templates (two in addition to the master). In my testing I've been manually databinding the grid and I've managed to load my rooms when the form loads. I've then chosen to use the "MasterTemplate_RowSourceNeeded" to load my first level products when a room is expanded (which works as expected). Now I'm struggling to add the final level (Related Products). I've tried adding a Related Products template at runtime when the Products level is being filled (no issues here). I then added a relationship to the gridview to relate the products with their related products and while this doesn't produce an error the Related Products aren't visible in the gridview. I then tried manually creating each Related Product row within the related template using a dataview's filter to get the related products. Again this ran without error but clicking the drop arrow next to the Product only changes the drop arrow to the opened state with no Related Products being shown. I've tried to watch a handful of the databinding videos on Telerik's website but the video doesn't show (like a white box is over the video).
Any help is greatly appreciated :)