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

ASPxGridBase.SelectionChanged Event

Fires when the row selection changes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public event EventHandler SelectionChanged

Event Data

The SelectionChanged event's data class is EventArgs.

Remarks

The SelectionChanged event fires in the following cases:

  • A user selects or deselect rows in the UI.
  • You use the API to change the row selection on the client or server side.

To allow the control to raise the server-side SelectionChanged event, use one of the following options:

  • In the client-side SelectionChanged event handler, set the processOnServer property to true. In this case, the control raises the client-side event and then raises the server-side SelectionChanged event.

  • Set the ProcessSelectionChangedOnServer property to true. In this case, the client-side event does not fire.

For more information on row selection in a particular control, refer to the following topics:

See Also