Skip to main content

ASPxClientTreeList.SelectionChanged Event

Fires after the selection has been changed via end-user interaction.

Declaration

SelectionChanged: ASPxClientEvent<ASPxClientProcessingModeEventHandler<ASPxClientTreeList>>

Event Data

The SelectionChanged event's data class is ASPxClientProcessingModeEventArgs. The following properties provide information specific to this event:

Property Description
processOnServer Specifies whether or not to process the event on the server.

Remarks

The ASPxTreeList allows multiple nodes to be selected. End-users can select/deselect nodes in the Selection Cell, represented by a check box. Handle the SelectionChanged event to perform specific actions each time a selection has been changed by end-user interaction. To learn more, see Selection.

The event parameter’s processOnServer property enables you to specify whether the event should be finally processed on the server side. If this property is set to false (the default value), the event is completely handled on the client side without a round trip to the server. Setting the processOnServer property to true indicates that the final processing of the event should be performed on the server side. In this case, the server-side ASPxTreeList.SelectionChanged event fires, which if handled, allows any desired server-side action to be performed.

Note

If the TreeListSettingsBehavior.ProcessSelectionChangedOnServer property is set to true, the selection change is finally processed on the server side (the server-side ASPxTreeList.SelectionChanged event fires), regardless of the processOnServer property value.

See Also