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

Gridview multiple templates selecting tabs

2 Answers 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gonzalo
Top achievements
Rank 2
Gonzalo asked on 29 Feb 2012, 07:00 PM
I have a gridview with rows with multiple templates. How do I select programmatically a tab to be display first when expanding a row to show the templates?

Best regards,

G

2 Answers, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 05 Mar 2012, 05:58 PM
Hi,

Thank you for writing.

The attached sample project illustrates one possible implementation of the desired scenario. The project contains a RadGridView with three ChildTemplates added to the MasterTemplate. Using the ViewCellFormatting event you can specify which tab to be selected when the user expands a row. For details please refer to the attachment.

I hope you find my answer helpful. If you have any questions do not hesitate to write back.

Regards,
Boryana
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Gonzalo
Top achievements
Rank 2
answered on 05 Mar 2012, 06:53 PM
Thank you kindly Boryana :-)

G
Tags
GridView
Asked by
Gonzalo
Top achievements
Rank 2
Answers by
Boryana
Telerik team
Gonzalo
Top achievements
Rank 2
Share this question
or