Back to Devexpress

ASPxEdit.AreEditorsValid(Control, Boolean) Method

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

latest2.0 KB
Original Source

ASPxEdit.AreEditorsValid(Control, Boolean) Method

Verifies whether the editors in the specified container are valid.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Parameters

NameTypeDescription
containerControl

A Control object that specifies the container.

| | 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