A newer version of this page is available. Switch to the current version.

ASPxClientEdit.ClearGroup(validationGroup) Method

Assigns a null value to all editors which belong to a specific validation group, dependent on the visibility state specified.

Declaration

static ClearGroup(
    validationGroup: string,
    clearInvisibleEditors?: boolean
): void

Parameters

Name Type Description
validationGroup string

A string value specifying the validation group’s name.

clearInvisibleEditors boolean

true to clear both visible and invisible editors that belong to the specified validation group; false to clear only visible editors.

Remarks

This method can be used to reset the specified editors to null values while performing client-side validation.

NOTE

If the validationGroup parameter is set to null, the method clears all/visible (under the clearInvisibleEditor parameter value) editors on a page.

See Also