ASPxClientCardView.CardDblClick Event

Fires on the client when a card is double clicked.


CardDblClick: ASPxClientEvent<ASPxClientCardViewCardClickEventHandler<ASPxClientCardView>>

Event Data

The CardDblClick event handler receives an argument of the ASPxClientCardViewCardClickEventArgs 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 ASPxClientCardView.CardClick event.
visibleIndex Gets the processed card's visible index.


This example shows how to switch ASPxCardView to edit mode by double-clicking a card. To do this, handle the ASPxClientCardView.CardDblClick client-side event and call the ASPxClientCardView.StartEditCard method.

<dx:ASPxCardView ID="ASPxCardView1" KeyFieldName="ID" AutoGenerateColumns="False" runat="server" ClientInstanceName="card">
    <ClientSideEvents CardDblClick="function(s, e) {
    }" />
        <dx:CardViewTextColumn FieldName="ID" VisibleIndex="0">
        <dx:CardViewTextColumn FieldName="Data" VisibleIndex="1">
See Also