ASPxClientEdit.AreEditorsValid Method

Verifies whether the editors in a specified visibility state, which are located within a specified container and belong to a specific validation group, are valid.

Declaration

static AreEditorsValid(container?: any | string, validationGroup?: string, checkInvisibleEditors?: boolean): boolean

Parameters

Name Type Description
container any | string

An HTML element specifying the container of editors to be validated.

validationGroup string

A string value that specifies the validation group's name.

checkInvisibleEditors boolean

true to check both visible and invisible editors that belong to the specified container; false to check only visible editors.

Returns

Type Description
boolean

true if the editors are valid; otherwise, false.

Remarks

NOTE

The AreEditorsValid method does not perform validation, it only checks the validation state of editors.

See Also