ASPxClientGridView.RowClick Event

Fires on the client when a data row is clicked.


RowClick: ASPxClientEvent<ASPxClientGridViewRowClickEventHandler<ASPxClientGridView>>

Event Data

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

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
htmlEvent Provides access to the parameters associated with the ASPxClientGridView.RowClick event.
visibleIndex Gets the processed row's visible index. Inherited from ASPxClientGridViewRowCancelEventArgs.


This sample illustrates how to use the client-side RowClick and the RowDoubleClick events for different actions.

View Example

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace ClickTrick {
    public partial class _Default : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {

See Also