there can be some time when AJAX tab control will open the default tab after postback in some other tab here is a sinple solution for it.
Write a javascript function
function OnChanged(sender, args) {
sender.get_clientStateField().value = sender.saveClientState();
}
Call this in TabContainer like.
<Ajax:TabContainer runat="server" EnableViewState="true" OnClientActiveTabChanged="OnChanged">
and you are done.
Happy Coding.
No comments:
Post a Comment