prevent client side tab index changing

Posted by Balajikcp8 under ASP.NET AJAX on 5/8/2012 | Points: 10 | Views : 1403 | Status : [Member] | Replies : 1
How to prevent client side tab index changing in tabcontainer?




Responses

Posted by: Balajikcp8 on: 5/8/2012 [Member] Starter | Points: 25

Up
0
Down
i got solution by coding like below(using hidden field)

<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" OnClientActiveTabChanged="setTab">

java script
function setTab(sender, e)
{
var ctrl = $find("TabContainer1");
ctrl.set_activeTabIndex(document.getElementById("hdnTab").value);


}

Balajikcp8, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response