CardViewSettings.CardValidating Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public ASPxCardViewDataValidationEventHandler CardValidating { get; set; }
Public Property CardValidating As ASPxCardViewDataValidationEventHandler

Property Value

Type Description
ASPxCardViewDataValidationEventHandler

An ASPxCardViewDataValidationEventHandler delegate method allowing you to implement custom processing.

Remarks

Implement an ASPxCardViewDataValidationEventHandler delegate method and assign it to the CardValidating property. For more implementation details, refer to the ASPxCardViewDataValidationEventHandler delegate description.

Note

Use the CardValidating property to provide custom error text. The actual validation logic should be implemented in the code of the controller as described in the Validation article.

See Also