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

ASPxClientNavBar.SetActiveGroup(group) Method

Makes the specified group active.

Declaration

SetActiveGroup(
    group: ASPxClientNavBarGroup
): void

Parameters

Name Type Description
group ASPxClientNavBarGroup

A ASPxClientNavBarGroup object that specifies the active group.

Remarks

When the ASPxNavBar.AutoCollapse property of a navbar control is set to true, only one group can be expanded within the navbar at a time. This single expanded group is called the navbar’s active group. In this mode, the SetActiveGroup method can be used on the client side to specify the active group within the navbar control.

Note that if the ASPxNavBar.AutoCollapse property is set to false, the SetActiveGroup method is not in effect.

See Also