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

ASPxClientNavBar.ExpandedChanged Event

Fires on the client side after a group's expansion state has been changed.

Declaration

ExpandedChanged: ASPxClientEvent<ASPxClientNavBarGroupEventHandler<ASPxClientNavBar>>

Event Data

The ExpandedChanged event handler receives an argument of the ASPxClientNavBarGroupEventArgs type. The following properties provide information specific to this event.

Property Description
group Gets the group object related to the event.

Remarks

Write a ExpandedChanged event handler to perform specific actions on the client side each time after a group's expansion state has been changed. You can use the event parameter's ASPxClientNavBarGroupEventArgs.group property to identify the group which has been expanded or collapsed.

Examples

...
    <ClientSideEvents ExpandedChanged="function(s, e) {
        if(e.group.GetExpanded() == true){ 
            CollapseAllGroupsButOne(e.group.index);
        }
    }" />
...
See Also