A newer version of this page is available.

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.v18.2.dll


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

Property Value

Type Description

An ASPxCardViewDataValidationEventHandler delegate method allowing you to implement custom processing.


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


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