Skip to main content

ASPxClientRibbon.SetActiveTab(tab) Method

Makes the specified tab active in the ribbon control on the client side.

Declaration

SetActiveTab(
    tab: ASPxClientRibbonTab
): void

Parameters

Name Type Description
tab ASPxClientRibbonTab

A ASPxClientRibbonTab object specifying the tab selection.

Remarks

End users are allowed to select tabs via mouse clicks. The ribbon control also provides the ability to select tabs on the client side in code. You can use the SetActiveTab method for this purpose. You can set an active tab by its index using the ASPxClientRibbon.SetActiveTabIndex method.

To get an active tab on the client side, use the ASPxClientRibbon.GetActiveTab method.

See Also