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

dynamic column creation of NestedViewTemplate grid

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anne Chinn
Top achievements
Rank 1
Anne Chinn asked on 09 Aug 2010, 09:10 PM
I have a main grid that has a NestedViewTemplate that contains a tabstrip with each tab containing its own grid.
One of these nested grids needs dynamically created columns but I also need to get the ID field that relates the nested grid to the parent grid so that I can run a query to determine the columns to add.

All of the samples I have seen show how to build the dynamic content on Page_Init, but when do you do it if you need to build the columns based on the value of the selected row in the parent grid?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 13 Aug 2010, 12:18 PM
Hello Anne Chinn,

I have created a small sample that demonstrates how to achieve the desired functionality.

I hope this helps.

Regards,
Martin
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
Anne Chinn
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or