asp.net - ActiveTab setting in javascript -
when setting tabcontainer first tab active tab through javascript following code :
var tc = document.getelementbyid('<%= tabcontainer.clientid %>'); tc.firstchild.lastchild.style.visibility = "hidden"; tc.set_activetabindex(0);
i getting exception like:
propert or method not supported object.
note second line succefully hides second tab panel third line raises excception
any suggestion how set tab active through javascript?
error generated line
tc.set_activetabindex(0);
we don't have built-in set_activetabindex() method.
you should apply appropriate css properties
enabling/disabling tabs.
Comments
Post a Comment