Navigation and Layout - Tab Control

Server-Side Functionality

HTML
CSS
Preview
<div class="SampleCSS">
    <span>Sample content</span>
</div>
v
Clear
Trace Events:

This sample demonstrates some of the capabilities available to you when using the server side features of the TabControl. Select the desired tab page name from the dropdown and define the visual settings of the corresponding page by clicking the appropriate button. Click any tab within the page control to initiate server-side events which can be traced in the Events monitor.

Each tabbed page within a page control has server-side properties which allow you to manipulate the state of the page and so change the visualization of the entire page control. Thus, the Enabled property allows you to enable or disable any page's tab. With the Visible property, you can show or hide a particular page's tab. In order to activate a specific page and display its contents, the ActiveTabPage property can be used.

The server-side ActiveTabChanging and ActiveTabChanged events used in this demo allow you to perform any custom action on the server. In this example, the ActiveTabChanged event is handled to synchronize the dropdown editor's value with the clicked tab and both the ActiveTabChanging and ActiveTabChanged events are used to display event information in the Events monitor.

Version: v2013 vol 1.4
Copyright © 2006-2013 Developer Express Inc
Experience the DevExpress Difference Today

All demos ship with full source code and are included in the DevExpress ASP.NET installation. Refer to the Demos and Sample Applications topic to learn more.

To download your free evaluation copy of our award-winning ASP.NET AJAX Controls and MVC Extensions, visit the DevExpress Downloads page

All DevExpress ASP.NET Controls ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions.
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.