Log In
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Collapse]ASP.NET Bootstrap Controls
 [Expand]Getting Started
 [Expand]Grid View
 [Expand]Data Editors
 [Collapse]Site Navigation and Layout
   Callback Panel
  [Expand]Form Layout
   Page Control and Tab Control
   Popup Control
   Tree View
 [Expand]API Reference
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Page Control and Tab Control

The Bootstrap Tab Control Suite includes two components allowing you to build tabbed interfaces within your web sites. You can either use the BootstrapTabControl component to display only tabs or use the BootstrapPageControl to associate specific page content with each tab. Both controls have been built to generate minimal HTML code, work on the client-side without hassles, be fast and fully support AJAX for on-demand page loading via callbacks.

The Bootstrap Tab Control Suite offers you an extremely flexible means to control end-user interaction. Numerous server-side settings, client-side API and events allow you to take full control over how your tab control responds to user actions. You have complete control over what user action activates a tab, and whether there should be a postback, callback or client processing. Note that the most frequently used scenarios are already built-in - you just need to toggle a property.

This topic lists the features that are unique to the web controls from the Bootstrap Tab Control Suite.

Expanded Control Features

  • Templates can be specified for tabs in both active and inactive states, and for each tab individually.
  • A tab control supports two ways to activate a tab - by clicking it or by hovering over it with the mouse pointer.

Expanded AJAX Support

You can enable AJAX support by setting the EnableCallbacks property to true. In this instance, Page Control initially loads only the active page's content onto the client. When end-users activate other pages, their content is loaded via callbacks. Once a page's content has been loaded, end-users can switch to this page on the client-side without callbacks or postbacks. You can try this functionality on the home page of this site.

Expanded Client-Side Features

  • Client-side events allow you to perform custom actions when an end-user clicks on a tab, and immediately after the corresponding page has been loaded. If you use AJAX functionality, you will need these events to indicate that a callback is in progress.
  • You can use the client-side API to activate tabs, obtain tab information and specify HTML content for pages in the Page Control.

Expanded Tab Features

  • A convenient tab collection design-time editor is available.
  • Customizable tab spacing.
  • Tab position and alignment can be changed to display tabs at any edge and corner of a page control.
  • You can specify tooltips for tabs.

How would you rate this topic?​​​​​​​