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

Dynamically specify RowDetailsTemplate at run-time

3 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hemanth
Top achievements
Rank 1
Hemanth asked on 27 Nov 2012, 12:38 PM
Hi ,

Can i load usercontrols in RowDetailsTemplate dynamically or do we have a feature in silverlight in which we can have conditional RowDetailsTemplate, Please some  one help me. its bit urgent


Thanks

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 27 Nov 2012, 01:21 PM
Hello Hemanth V,

RadGridView provides a property called RowDetailsTemplateSelector.

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Hemanth
Top achievements
Rank 1
answered on 28 Nov 2012, 03:47 AM
Hi Pavel,

Thanks for reply, can i get a simple demo code on property called RowDetailsTemplateSelector please.
Here i have two columns,each row contains one with "+" symbol, and other with "Edit" button

Onclick of "+" i need to get a RowDetailsTemplate, where i can view Details for that Row
Onclick of "Edit" i need to get a RowDetailsTemplate, where i can Edit the Row Details.

Please find attachment for reference

Thanks..


0
Hemanth
Top achievements
Rank 1
answered on 13 Dec 2012, 12:23 PM
thanks for response, i found solution for it
Tags
GridView
Asked by
Hemanth
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Hemanth
Top achievements
Rank 1
Share this question
or