Back to Devexpress

ASPxEdit.AreEditorsValid(Control, String, Boolean) Method

aspnet-devexpress-dot-web-dot-aspxedit-dot-areeditorsvalid-x28-system-dot-web-dot-ui-dot-control-system-dot-string-system-dot-boolean-x29.md

latest2.2 KB
Original Source

ASPxEdit.AreEditorsValid(Control, String, Boolean) Method

Verifies whether the editors with the specified settings are valid.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Parameters

NameTypeDescription
containerControl

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

TypeDescription
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

Validation

How to: Validate an Editor

ASPxEdit Class

ASPxEdit Members

DevExpress.Web Namespace