Skip to main content
Tab

ASPxEdit.AreEditorsValid(Control, String, Boolean) Method

Verifies whether the editors with the specified settings are valid.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public static bool AreEditorsValid(
    Control container,
    string validationGroup,
    bool checkInvisibleEditors
)

#Parameters

Name Type Description
container Control

A Control object that specifies the container.

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 validate editor data, it only checks the validation state of editors.

See Also