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

ASPxEdit.AreEditorsValid(Control, String, Boolean) Method

Verifies whether the editors with the specified settings are valid.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public static bool AreEditorsValid(
    Control container,
    string validationGroup,
    bool checkInvisibleEditors
)
Public Shared Function AreEditorsValid(
    container As Control,
    validationGroup As String,
    checkInvisibleEditors As Boolean
) As Boolean

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

See Also