Skip to main content
A newer version of this page is available. .

ASPxClientNavBar.GetGroupCount Method

Returns the number of groups in the navbar.

Declaration

GetGroupCount(): number

Returns

Type Description
number

An integer value specifying the number of groups in the navbar.

Remarks

By using the navbar’s client-side functionality the navbar’s groups on the client side can be accessed. The GetGroupCount method is used to determine the number of groups maintained by the navbar’s ASPxNavBar.Groups collection. This method can be used together with the ASPxClientNavBar.GetGroup method when iterating through the group list to determine its upper bound.

See Also