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

ASPxEdit.ValidateEditorsInContainer(Control, String, Boolean) Method

Performs validation of the editors which are located within the specified container and belong to a specific validation group, dependent on the visibility state specified.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Parameters

Name Type Description
container Control

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

validationGroup String

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

validateInvisibleEditors Boolean

true to validate both visible and invisible editors that belong to the specified container and group; false to validate only visible editors.

Returns

Type Description
Boolean

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

See Also