This probably has been asked many times before but I was wondering how to maintain the ActiveTabIndex of an AjaxControlToolKit TabContainer.
The only way I can think of achieving such a thing is to store the ActiveTabIndex in the session and checking for this on postback. Are there any other solutions to solve this problem?
Most likely this answers your question. Such things belong into the ViewState of the Page when their not already saved there.
EDIT: On the other hand: i've tested it and my ActiveTabIndex maintains on (asynchronous) postback.
No need to mess with Session on this, Malachi.
Just drop this in your "ActiveTabChanged" event handler (assuming you are using C#):
Then perform whatever logic you need based on the value of "iTabIndex".
you need to add ActiveTabChanged event for tab container and you can keep active tab index in view state, and on page load just check if it is not null then set it as Active tab index.
PageOnLoad Event code
Make sure to add following attributes in TabContainer tag