ASPxClientNavBarGroup Class

Represents a client-side equivalent of the navbar's NavBarGroup object.

Declaration

declare class ASPxClientNavBarGroup

Remarks

The ASPxClientNavBarGroup object represents a client navbar group that corresponds to a particular group in the navbar's ASPxNavBar.Groups collection. An individual client navbar group can be accessed from the navbar object level by using the ASPxClientNavBar.GetGroup or ASPxClientNavBar.GetGroupByName method.

The functionality provided by the ASPxClientNavBarGroup object on the client side almost replicates the basic server-side functionality. Thus, you are allowed to obtain the main information on a navbar group (such as its ASPxClientNavBarGroup.index and ASPxClientNavBarGroup.name), obtain its particular item specified either by the index or name (ASPxClientNavBarGroup.GetItem, ASPxClientNavBarGroup.GetItemByName), access the group's parent navbar object (ASPxClientNavBarGroup.navBar) and manipulate the group's expansion state (ASPxClientNavBarGroup.GetExpanded, ASPxClientNavBarGroup.SetExpanded) directly on the client-side by using specific properties and methods exposed by the ASPxClientNavBarGroup object and writing an appropriate JavaScript code.

See Also