ASPxClientRibbonTab Class

A client-side equivalent of the ribbon's RibbonTab object.

Declaration

declare class ASPxClientRibbonTab

Remarks

The ASPxClientRibbonTab object is a client ribbon tab that corresponds to a particular item in the ASPxRibbon.Tabs collection. An individual client tab can be accessed by using the ASPxClientRibbon.GetTab and ASPxClientRibbon.GetTabByName method.

An active tab can be specified using the ASPxClientRibbon.GetActiveTab, ASPxClientRibbon.SetActiveTab, and ASPxClientRibbon.SetActiveTabIndex methods.

The functionality provided by the ASPxClientRibbonTab object on the client side nearly replicates the basic server-side functionality. So, you are allowed to obtain information on a tab's name (ASPxClientRibbonTab.name), index within the ribbon's Items collection (ASPxClientRibbonTab.index), and text (ASPxClientRibbonTab.GetText). Additionally, you can manage tab availability (ASPxClientRibbonTab.GetEnabled and ASPxClientRibbonTab.SetEnabled).

See Also