Skip to main content
A newer version of this page is available. .

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 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 ASPxClientCardView.CardClick event.
visibleIndex Gets the processed card’s visible index.

Example

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

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