This example demonstrates available ways to manipulate the DevExpress MVC Tab Extension programmatically on the client using enhanced client-side functionality. The client object of the Tab Extension can be accessed on the client-side by its Name.
The ShowTabContent function displays (in a specific text region) the HTML code which represents the active tab’s content. The content of the active tab is obtained via the GetTabContentHTML method.
The ActiveTabChanged function represents the hander for the ActiveTabChanged client event. The event's argument contains information on the active tab which is used to synchronize the value of the dropdown editor.
A tab can be activated by using the SetActiveTab method. In this demo, each tab is identified using its server-side Name property. In order to obtain a specific tab by its name on the client side, the GetTabByName method is used.