How to manipulate TabControl with JavaScript?
Tab pages in TabContainer can be manipulated on client side directly. 1. Get a reference to the component on client side via $find function. 2. Invoke a corresponding function on the component to manipulate it. For instance: var tab = $find(“tabContainer’s ClientID”); tab.set_activeTabIndex(1); // active the second tab panel tab.getFirstTab().set_enabled(false); // disable the first panelAll of the functions defined in the TabContainer control can be found in the Tabs.js file of AJAX control toolkit’s source code. Related thread: http://forums.asp.net/t/1179322.aspx 9. Accordion 9.1 Add an Accordion Pane on client side [top] Below is a sample demonstrates how to achieve it: <%@ Page Language="C#" %>