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

Nested view template including child grid

1 Answer 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 09 Jul 2010, 05:50 PM
Hi,

I'm currently having problems linking a RadGrid to its parent row. I know I could just use Detail tables which work fine, but I want to be able to have something similar to your demo here, but at the bottom of that nested view template to also show a RadGrid with something like the Contact Name's list of orders/sales/etc.

I've currently got it setup to pass in the Customer Name's ID into the RadGrid when the grid is loaded. But then I can't find a way of then linking the Insert/Update/Delete Commands for that Customer in the grid.

Any help would be much appreciated in showing how you would extend the online demo to also include a related grid in the nested viewtemplate.

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 15 Jul 2010, 08:13 AM
Hello Dave,

One possible option in this case would be to employ a template similar to this one:

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

It includes a relation between the inner and outer controls. I hope this gets you started properly.

Sincerely yours,
Yavor
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
Dave
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or