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

How can add CellTemplate with column in RadGridView at Runtime

1 Answer 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
MK
Top achievements
Rank 1
MK asked on 29 Jul 2010, 08:19 AM
Hi All,

Please can tell me that How can add CellTemplate with column in RadGridView at Runtime?

Thanks
Mahesh

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 29 Jul 2010, 08:27 AM
Hello Mahesh,

 Here is an example:

column.CellTemplate = (DataTemplate)this.Resources["MyTemplate"];

Best wishes,
Vlad
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
GridView
Asked by
MK
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or