Tab

ASPxCardView.CardValidating Event

Enables you to specify whether card data is valid and whether the card can be updated.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public event ASPxCardViewDataValidationEventHandler CardValidating
Public Event CardValidating As ASPxCardViewDataValidationEventHandler

Event Data

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

Property Description
CardError Gets or sets the error text displayed within the Error Row.
EditorPropertiesErrors Gets a collection of editor errors.
Errors Gets a collection of card errors.
HasErrors Gets whether the processed data item (row, card or record) has errors. Inherited from ASPxGridDataValidationEventArgs.
IsNewCard Gets whether the processed card is new.
Keys Gets a dictionary of field name/value pairs that represent the primary key of the data item (row, card or record) to validate. Inherited from ASPxGridDataValidationEventArgs.
NewValues Gets a dictionary that contains the values of the non-key field name/value pairs in the data item (row, card or record