Free Trial Buy Now

Tab Control - Server-Side Functionality

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

Description

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: 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 ASP.NET Controls 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.