This code Work fine if you have enable AutoPostBack of Tab Container.
TabContainer1.ActiveTab = TabContainer1.Tabs[1];
Domanda
I am using ASP.NET AjaxControllToolKit Tab Container , I have 9 tabs in it i want to switch to next tabs on asp:button click. I have a screen shot of my tabs .
I try this C# code but it is not working .
protected void Button1_Click(object sender, EventArgs e)
{
TabContainer1.ActiveTab = TabContainer1.Tabs[2];
}
Please give me the right solution for navigation between tabs on button clicks.
Soluzione
This code Work fine if you have enable AutoPostBack of Tab Container.
TabContainer1.ActiveTab = TabContainer1.Tabs[1];