ASPxClientCardView.CardClick Event

Fires on the client when a card is clicked.

Declaration

CardClick: ASPxClientEvent<ASPxClientCardViewCardClickEventHandler<ASPxClientCardView>>

Event Data

The CardClick event's data class is ASPxClientCardViewCardClickEventArgs. 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 ASPxClientCardView.CardClick event.
visibleIndex Gets the processed card's visible index.

Examples

This example illustrates how to use the client-side CardClick and CardDblClick events to perform different actions.

View Example

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

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

    }
}
See Also