Need an example on how to dynamically load a child grid

2 posts, 0 answers
  1. Rob Conley
    Rob Conley avatar
    47 posts
    Member since:
    Sep 2012

    Posted 08 Jan 2013 Link to this post

    I am familiar with the RadTreeView's load on demand. I need to do the same thing the grid.
    I'm loading via WCF Ria and creating a VirtualQueryableCollectionView for the Itemsource.

    I would like to detect when a grid is expanded and presumably fire a request to load the child grid's data into child collection in the VQCV.
    I'm not finding a good example of this. Please point me in the right direction or tell me if my approach is wrong.
  2. Nick
    Nick avatar
    593 posts

    Posted 11 Jan 2013 Link to this post

    Hello Rob,

    The approach is basically the same. As you can see in the TreeList example everything is being loaded when a node is being expanded, which you can do with the IsExpandedChanged events of the GridView.

    Hope this helps! 

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top