[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Collapse]ASP.NET Bootstrap Controls
  ASP.NET Bootstrap Controls - Overview
 [Expand]Getting Started
 [Expand]Demos and Sample Applications
 [Expand]Project Configuration
 [Expand]Grid View
 [Expand]Card View
 [Expand]Scheduler
  Spreadsheet
  Rich Text Editor
 [Expand]Charts
  Sparkline
 [Expand]Data Editors
 [Expand]Site Navigation
 [Expand]Site Layout
  File Manager
 [Expand]Redistribution and Deployment
 [Collapse]API Reference
  [Expand]DevExpress.Web.Bootstrap
  [Collapse]DevExpress.Web.Bootstrap.Scripts
   [Expand]BootstrapClientAccordion Class
   [Expand]BootstrapClientAccordionGroup Class
   [Expand]BootstrapClientAccordionGroupCancelEventArgs Class
    BootstrapClientAccordionGroupCancelEventHandler Delegate
   [Expand]BootstrapClientAccordionGroupClickEventArgs Class
    BootstrapClientAccordionGroupClickEventHandler Delegate
   [Expand]BootstrapClientAccordionGroupEventArgs Class
    BootstrapClientAccordionGroupEventHandler Delegate
   [Expand]BootstrapClientAccordionItem Class
   [Expand]BootstrapClientAccordionItemEventArgs Class
    BootstrapClientAccordionItemEventHandler Delegate
   [Expand]BootstrapClientBinaryImage Class
   [Expand]BootstrapClientButton Class
   [Expand]BootstrapClientButtonEdit Class
   [Expand]BootstrapClientCalendar Class
   [Expand]BootstrapClientCallbackPanel Class
   [Expand]BootstrapClientCardView Class
   [Expand]BootstrapClientChart Class
   [Expand]BootstrapClientChartBase Class
    BootstrapClientChartBaseDoneEventHandler Delegate
    BootstrapClientChartBaseLegendClickEventHandler Delegate
    BootstrapClientChartBasePointClickEventHandler Delegate
    BootstrapClientChartBasePointHoverChangedEventHandler Delegate
    BootstrapClientChartBasePointSelectionChangedEventHandler Delegate
    BootstrapClientChartBaseTooltipHiddenEventHandler Delegate
    BootstrapClientChartBaseTooltipShownEventHandler Delegate
   [Expand]BootstrapClientChartZoomEndEventArgs Class
    BootstrapClientChartZoomEndEventHandler Delegate
    BootstrapClientChartZoomStartEventHandler Delegate
   [Expand]BootstrapClientCheckBox Class
   [Expand]BootstrapClientCheckBoxList Class
   [Expand]BootstrapClientComboBox Class
    BootstrapClientCoordinateSystemChartArgumentAxisClickEventHandler Delegate
    BootstrapClientCoordinateSystemChartSeriesClickEventHandler Delegate
    BootstrapClientCoordinateSystemChartSeriesHoverChangedEventHandler Delegate
    BootstrapClientCoordinateSystemChartSeriesSelectionChangedEventHandler Delegate
   [Expand]BootstrapClientDateEdit Class
   [Expand]BootstrapClientDropDownEdit Class
   [Expand]BootstrapClientFileManager Class
   [Expand]BootstrapClientFormLayout Class
   [Expand]BootstrapClientGridView Class
   [Expand]BootstrapClientHyperLink Class
   [Expand]BootstrapClientImage Class
   [Expand]BootstrapClientListBox Class
   [Expand]BootstrapClientListBoxItem Class
   [Expand]BootstrapClientMemo Class
   [Expand]BootstrapClientMenu Class
   [Expand]BootstrapClientMenuItem Class
   [Expand]BootstrapClientMenuItemClickEventArgs Class
    BootstrapClientMenuItemClickEventHandler Delegate
   [Expand]BootstrapClientMenuItemEventArgs Class
    BootstrapClientMenuItemEventHandler Delegate
   [Expand]BootstrapClientMenuItemMouseEventArgs Class
    BootstrapClientMenuItemMouseEventHandler Delegate
   [Collapse]BootstrapClientPageControl Class
     BootstrapClientPageControl Members
     BootstrapClientPageControl Constructor
    [Collapse]BootstrapClientPageControl Methods
     [Expand]GetActiveTab Method
     [Expand]GetTab Method
     [Expand]GetTabByName Method
     [Expand]GetTabContentHTML Method
     [Collapse]SetActiveTab Method
       SetActiveTab(BootstrapClientTab) Method
     [Expand]SetTabContentHTML Method
   [Expand]BootstrapClientPager Class
   [Expand]BootstrapClientPieChart Class
   [Expand]BootstrapClientPolarChart Class
   [Expand]BootstrapClientPopupControl Class
   [Expand]BootstrapClientPopupMenu Class
   [Expand]BootstrapClientProgressBar Class
   [Expand]BootstrapClientRadioButton Class
   [Expand]BootstrapClientRadioButtonList Class
   [Expand]BootstrapClientRangeSelector Class
   [Expand]BootstrapClientRangeSelectorValueChangedEventArgs Class
    BootstrapClientRangeSelectorValueChangedEventHandler Delegate
   [Expand]BootstrapClientRibbon Class
   [Expand]BootstrapClientSparkline Class
    BootstrapClientSparklineOptionChangedEventHandler Delegate
    BootstrapClientSparklineTooltipHiddenEventHandler Delegate
    BootstrapClientSparklineTooltipShownEventHandler Delegate
   [Expand]BootstrapClientSpinEdit Class
   [Expand]BootstrapClientTab Class
   [Expand]BootstrapClientTabControl Class
   [Expand]BootstrapClientTabControlTabCancelEventArgs Class
    BootstrapClientTabControlTabCancelEventHandler Delegate
   [Expand]BootstrapClientTabControlTabClickEventArgs Class
    BootstrapClientTabControlTabClickEventHandler Delegate
   [Expand]BootstrapClientTabControlTabEventArgs Class
    BootstrapClientTabControlTabEventHandler Delegate
   [Expand]BootstrapClientTagBox Class
   [Expand]BootstrapClientTextBox Class
   [Expand]BootstrapClientTimeEdit Class
   [Expand]BootstrapClientToolbar Class
   [Expand]BootstrapClientTreeView Class
   [Expand]BootstrapClientTreeViewNode Class
   [Expand]BootstrapClientTreeViewNodeCancelEventArgs Class
    BootstrapClientTreeViewNodeCancelEventHandler Delegate
   [Expand]BootstrapClientTreeViewNodeClickEventArgs Class
    BootstrapClientTreeViewNodeClickEventHandler Delegate
   [Expand]BootstrapClientTreeViewNodeEventArgs Class
    BootstrapClientTreeViewNodeEventHandler Delegate
   [Expand]BootstrapClientTreeViewNodeProcessingModeEventArgs Class
    BootstrapClientTreeViewNodeProcessingModeEventHandler Delegate
   [Expand]BootstrapClientUploadControl Class
   [Expand]BootstrapClientUtils Class
   [Expand]BootstrapUIWidgetBase Class
    BootstrapUIWidgetDisposingEventHandler Delegate
    BootstrapUIWidgetDrawnEventHandler Delegate
   [Expand]BootstrapUIWidgetElementActionEventArgs Class
   [Expand]BootstrapUIWidgetElementClickEventArgs Class
   [Expand]BootstrapUIWidgetErrorEventArgs Class
    BootstrapUIWidgetErrorEventHandler Delegate
   [Expand]BootstrapUIWidgetEventArgsBase Class
    BootstrapUIWidgetExportedEventHandler Delegate
   [Expand]BootstrapUIWidgetExportEventArgs Class
    BootstrapUIWidgetExportingEventHandler Delegate
    BootstrapUIWidgetFileSavingEventHandler Delegate
    BootstrapUIWidgetInitializedEventHandler Delegate
   [Expand]BootstrapUIWidgetOptionChangedEventArgs Class
    BootstrapUIWidgetOptionChangedEventHandler Delegate
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

BootstrapClientPageControl.SetActiveTab(BootstrapClientTab) Method

Makes the specified tab active within the Page Control on the client side.

Namespace:DevExpress.Web.Bootstrap.Scripts
Assembly:DevExpress.Web.Bootstrap.v18.2.Scripts.dll

Expanded Syntax

Parameters

tab
Type: BootstrapClientTab
A BootstrapClientTab object specifying the tab to select.

Expanded Remarks

End users are allowed to select tabs via mouse clicks. The Page Control also provides the ability to select tabs on the client side via code. You can use the SetActiveTab method for this purpose.

Note that the Page Control always has the active tab and only one tab can be active within the control at the same time. So the SetActiveTab method is in effect if it's passed a correct tab index which lies in the range of 0 to the DevExpress.Web.Scripts.ASPxClientTabControlBase.GetTabCount value decremented by one.

Expanded See Also

Is this topic helpful?​​​​​​​