ASPxTreeList.SelectionChanged Event

Fires after an end user changed selection.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll

Declaration

public event EventHandler SelectionChanged
Public Event SelectionChanged As EventHandler

Event Data

The SelectionChanged event handler receives an argument of the EventArgs type.

Remarks

The ASPxTreeList control allows you to select multiple nodes. The tree list provides selection cells ...

... or the following APIs to select/deselect nodes:

Knowledge-Base Article: ASPxTreeList - Neither client-side and server-side SelectionChanged events are triggered when the client-side SelectNode method is called

Handle the ASPxTreeList.SelectionChanged event to handle a selection change.

<dx:ASPxTreeList ID="Tree" runat="server" OnSelectionChanged="Tree_SelectionChanged" >
    <Columns>
    ...
    </Columns>
    <SettingsBehavior ProcessSelectionChangedOnServer="true" />
    <SettingsSelection Enabled="true" />
</dx:ASPxTreeList>
Note

The tree list does not fire the SelectionChanged server-side event and instantly fires the the ASPxClientTreeList.SelectionChanged client-side event to handle a selection change if the TreeListSettingsBehavior.ProcessSelectionChangedOnServer argument is set to false.

See Also