I want to hide columns in a RadGrid when the selected tab of a TaStrip, in another area of the page isn't the first (based on your wizzard code demo).
I have configured the ajax manager to do it, enabled the post back on the tabstrip and added the following event:
Protected
Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTabStripEventArgs) Handles RadTabStrip1.TabClick
If RadTabStrip1.SelectedTab.Text = "Compte Client" Then
RadGrid1.MasterTableView.GetColumn(
"Delete").Visible = True
RadGrid1.MasterTableView.GetColumn("Edit").Visible = True
Else
RadGrid1.MasterTableView.GetColumn(
"Delete").Visible = False
RadGrid1.MasterTableView.GetColumn("Edit").Visible = False
End If
End Sub
This code works at half in the sense of my column are not visible after any click on any tab (on the first "compte client" too) but they never come back Visible.
I also would like to know how I can modify this when I click on the "next" button of the wizzard example because only an user control is loaded in that case.
Thank you for your help,
Herve