Search code examples
asp.netajaxcontroltoolkittabcontainer

ASP.NET Maintaining ActiveTabIndex on Postback within TabContainer


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?


Solution

  • 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.