Tab

ASPxEdit.ValidateEditorsInContainer(Control, Boolean) Method

Performs validation of the editors which are located within the specified container, dependent on the visibility state specified.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Parameters

Name Type Description
container Control

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

validateInvisibleEditors Boolean

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

Returns

Type Description
Boolean

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

Remarks

NOTE

The ValidateEditorsInContainer method validates both initial and changed editor values.

See Also