Free Trial Buy Now

Tab Strip - Client-Side Functionality

Page Content Sample

Description

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 Tab Extension allows a tab’s content to be changed dynamically on the client side by using the SetTabContentHTML method. The GetActiveTab method can be used to access the currently active tab.

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.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress MVC Extensions ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.