Skip to main content
Tab

ASPxGridView.ClientSideEvents Property

Gets an object that lists the client-side events specific to the GridView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewClientSideEvents ClientSideEvents { get; }

Property Value

Type Description
GridViewClientSideEvents

An object that allows you to handle ASPxGridView‘s client-side events.

Remarks

The ClientSideEvents property provides access to the properties whose names correspond to the events available to a ASPxGridView on the client side. These properties provide the capability to assign JavaScript handlers to the required client-side events of the ASPxGridView.

Example

Note

For a full example, see the ASPxGridView - Focused Row demo.

<dx:ASPxGridView ID="grid" ClientInstanceName="grid" runat="server" DataSourceID="EmployeesDataSource"
    KeyFieldName="EmployeeID" PreviewFieldName="Notes" AutoGenerateColumns="False" EnableRowsCache="false" Width="100%">
    <Columns>
    ...
    </Columns>
    ...
    <ClientSideEvents FocusedRowChanged="function(s, e) { OnGridFocusedRowChanged(); }" />
</dx:ASPxGridView>
See Also