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

MasterTableView Header changed when expand the details

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bevis
Top achievements
Rank 1
Bevis asked on 26 Aug 2012, 09:35 AM
I set the mastertableview header in ItemDataBound for both Master and Detail TableView.  But when I click to expand the details, the mastertableview header changed back to the field name.   And when I click the other expand button, the first details header also changed to fieldname.  Where should I put the headertext code in my code behind?  I am using vb.net.

Tks,

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 30 Aug 2012, 06:14 AM
Hello Bevis,

To achieve the desired functionality you could try using the RadGrid.ItemCreated event instead of RadGrid.ItemDataBound. Please give it try and let me know if you experience any problems.

Looking forward for your reply.

Regards,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Bevis
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or