Nested RadListBox

2 posts, 0 answers
  1. Jason M
    Jason M avatar
    8 posts
    Member since:
    Jan 2007

    Posted 26 Apr 2010 Link to this post

    I'd like to nest a RadListBox in my RadGrid.  How can I link the parent RadGrid to the child RadListBox.  I tried using the "ParentTableRelation" code from below, but its not working.

    <ParentTableRelation> 
         <telerik:GridRelationFields DetailKeyField="SEQN" MasterKeyField="SEQN" /> 
    </ParentTableRelation> 

    Is this something that needs to be done in the code-behind?

    J
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 29 Apr 2010 Link to this post

    Hi Jason,

    You can place the RadListBox instance inside NestedViewTemplate and relate it with the parent grid using appropriate Where clause for your Select query. You can see how this is done with two grids on this online demo of the product.

    Best regards,
    Sebastian
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top