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

[Solved] bind data dynamically to nested grid view

1 Answer 243 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sachitra
Top achievements
Rank 1
Sachitra asked on 16 Feb 2011, 06:04 AM
I have a nested grid view where I need to bind data at run time. 
I have order details in main grid(parentGrid) rows and the item records relevant to that order in the nested table(childGrid). 
All the data I take to the application through a wcf service and bind that to parentGrid at run time. Another wcf service gives all the item records from the database and I need to bind them to the childGrid based on the order key.

Can anyone please help me on this?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Feb 2011, 08:25 AM
Hello,

 You can prepare a model similar to this blog post or declare the child grid in HierarchyChildTemplate and use the child grid Loaded event to retrieve and bind your child data. 

All the best,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Sachitra
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or