Skip to main content
A newer version of this page is available.
All docs
V18.2

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

Declaration

public ASPxCardViewDataValidationEventHandler CardValidating { get; set; }

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