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

[Solved] RadGrid Subtable Data

2 Answers 237 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 08 Jul 2009, 03:19 PM
Hello,

I was able to set up the RadGrid subtable's datasource, but i want the RadGrid subtable grid to use the main datagrid selection as a parameter.  How would I do that?  Basically, if a selection is made, how do I use that selection or something like an EmployeeID as a parameter in the RadGrid/Sub Grid and Master Table/SubTable relationship without much programming?  Or is programming required and can you share with me how you did it?

2 Answers, 1 is accepted

Sort by
0
Brett
Top achievements
Rank 1
answered on 08 Jul 2009, 07:29 PM
No reply, hmm.  Anybody here?
0
Tsvetoslav
Telerik team
answered on 10 Jul 2009, 01:47 PM
Hi Brett,

If by "a selection is made" you mean clicking the grid's expand/collapse image - then you might as well use the declarative hierarchical relations as show in the following online example: here.

If, on the other hand, you need an item to be expanded when the row is clicked, you need to adopt the approach demonstrated in the attached sample.

I hope this helps.

Best wishes,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Brett
Top achievements
Rank 1
Answers by
Brett
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or