The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientGridView.RowClick Event

Fires on the client when a data row is clicked.

Declaration

RowClick: ASPxClientEvent<ASPxClientGridViewRowClickEventHandler<ASPxClientGridView>>

Event Data

The RowClick event handler receives an argument of the ASPxClientGridViewRowClickEventArgs type. The following properties provide information specific to this event.

Property Description
cancel Gets or sets a value indicating whether the action which raised the event should be canceled.
(Inherited from ASPxClientCancelEventArgs)
htmlEvent Provides access to the parameters associated with the ASPxClientGridView.RowClick event.
visibleIndex Gets the processed row's visible index.

Examples

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

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