ASPxCardView.CardDeleted Event

Occurs after a card has been deleted.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public event ASPxDataDeletedEventHandler CardDeleted
Public Event CardDeleted As ASPxDataDeletedEventHandler

Event Data

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

Property Description
AffectedRecords Gets the number of records affected by the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
Exception Gets the exception (if any) that was raised during the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
ExceptionHandled Gets or sets whether an exception raised during the update operation was handled in the event handler. Inherited from ASPxDataBaseUpdatedEventArgs.
Keys Gets a dictionary of field name/value pairs that specify the primary key of the item to delete.
Values Gets a dictionary of the non-key field name/value pairs for the item to be deleted.


End-users can delete cards by clicking the Delete command. To delete cards in code, use the ASPxCardView.DeleteCard method.

To cancel the delete operation, handle the ASPxCardView.CardDeleting event.