The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientTabControlBase.GetTabCount Method

Returns the number of tabs in the ASPxTabControl.

Declaration

GetTabCount(): number

Returns

Type Description
number

An integer value specifying 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