Skip to main content
A newer version of this page is available. .

ASPxClientCardViewBatchEditApi.ValidateCard(visibleIndex) Method

Performs validation of CardView data contained in the specified card when the CardView operates in Batch Edit mode.

Declaration

ValidateCard(
    visibleIndex: number
): boolean

Parameters

Name Type Description
visibleIndex number

An integer value specifying the visible index of the validated card.

Returns

Type Description
boolean

true, if data in the specified card data passes validation; otherwise, false.

Remarks

This method allows you to programmatically perform client-side validation of data contained in a specific card.

Note that you can use the ASPxClientCardViewBatchEditApi.ValidateCards method to validate all cards in the CardView.

See Also