In codebehind, given a GridTemplateColumn, how do I get a reference to containing grid's datasource?
Sean M. Severson
2 Answers, 1 is accepted
0
Marin
Telerik team
answered on 09 Nov 2010, 01:50 PM
Hi Sean Severson,
You can get reference to the grid containing the template column using the Owner property of the grid column class and then use any of its properties including the DataSource.
templateColumn.Owner.DataSource;
Sincerely yours,
Marin
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