Back to Devexpress

ASPxEdit.AreEditorsValid(Control, String) Method

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

latest1.9 KB
Original Source

ASPxEdit.AreEditorsValid(Control, String) Method

Verifies whether visible 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
)
vb
Public Shared Function AreEditorsValid(
    container As Control,
    validationGroup As String
) As Boolean

Parameters

NameTypeDescription
containerControl

A Control object that specifies the container.

| | validationGroup | String |

A string value that specifies the validation group’s name.

|

Returns

TypeDescription
Boolean

true if visible 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