Back to Devexpress

ASPxGridBase.SelectionChanged Event

aspnet-devexpress-dot-web-dot-aspxgridbase-46936158.md

latest2.0 KB
Original Source

ASPxGridBase.SelectionChanged Event

Fires when the row selection changes.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event EventHandler SelectionChanged
vb
Public Event SelectionChanged As EventHandler

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

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace