To this day I have no idea what causes TabContainer to lose its state, but courtesy of a fellow traveller in pain, I can present a workaround.
var tabcontainer = $get('').control;
var tabIndex = $get('');
if (tabcontainer != null)
tabIndex.value = tabcontainer.get_activeTabIndex();
var tabIndex = $get('tabIndexHidden');
if (tabIndex.value > -1)
var tabcontainer = $find( '');
var index = tabcontainer.get_activeTabIndex();
if (index != tabIndex.value)
input type=”hidden” id=”tabIndexHidden” runat=”server”
Last thing in markup:
Resolving Our Little Differences
Now the ActiveTabIndex will be less than Infinity to the relief of all concerned with the possible exception of Buzz Lightyear.
Our Family Counsellor can be located here.. Thanks djs25uk 🙂