How to select tab from code behind & Hide tab from code behind

Jan 12, 2011 at 7:01 AM

Hi,

I am just start using TabStrip ASP.NET WebControl & Tab Image Builder Tool. But I faced some problem.

1) I want to set selected = "true" a tab from code behind in my scenario, but it is not possible now.

2) And i want to hide some tab/s in some condition. Like: I have total 5 tabs, in a condition i want to show 3 tabs (tab1, tab3, tab5), and other condition i want to show 2 tabs (tab2, tab3) how is it possible.

Please send me solution asap, if it is doable.

Thanks in advance,

Chandan

 

 

Jan 12, 2011 at 10:22 AM

hi,

I have solved the first point:

1) I want to set selected = "true" a tab from code behind in my scenario, but it is not possible now.

solution:

tabStrip1.Items[0].Selected = true;

But second one still unresolved.

 

Please help.

Thanks

Chandan

Coordinator
Jun 21, 2011 at 4:47 PM

Sorry, I'll have Visible and Enabled properties on the tab items in a future version.