Skip to main content
Tab

ASPxEdit.ValidateEditorsInContainer(Control, String) Method

Performs validation of visible editors that are located within the specified container and belong to a specific validation group.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public static bool ValidateEditorsInContainer(
    Control container,
    string validationGroup
)

Parameters

Name Type Description
container Control

A Control object that specifies the container of the editors to be validated.

validationGroup String

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

Returns

Type Description
Boolean

true if the specified visible editors pass validation; otherwise, false.

Remarks

Note

The ValidateEditorsInContainer method validates both initial and changed editor values.

See Also