This is a migrated thread and some comments may be shown as answers.

Nested RadListBox

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason M
Top achievements
Rank 2
Jason M asked on 26 Apr 2010, 03:59 PM
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

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 29 Apr 2010, 08:50 AM
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.
Tags
Grid
Asked by
Jason M
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
Share this question
or