Skip to main content

ASPxClientTabControlBase.GetTabCount Method

Returns the number of tabs in the ASPxTabControl.

Declaration

GetTabCount(): number

Returns

Type Description
number

The number of tabs in the control.

Remarks

The tab control’s client-side functionality allows the tab objects to be accessed programmatically on the client side. The GetTabCount method is used to determine the number of tabs maintained by the control’s ASPxTabControl.Tabs (or ASPxPageControl.TabPages in case of the ASPxPageControl) collection. This method can be used together with the ASPxClientTabControlBase.GetTab method when iterating through the tab list to determine its upper bound.

See Also