Skip to main content
Tab

ASPxEdit.ClearEditorsInContainer(Control, Boolean) Method

Assigns a null value to all editors which are located within the specified container object, dependent on the visibility state specified.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public static void ClearEditorsInContainer(
    Control container,
    bool clearInvisibleEditors
)

Parameters

Name Type Description
container Control

A Control object that specifies the container of editors.

clearInvisibleEditors Boolean

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

Remarks

This method can be used to reset the specified editors to null values while performing validation.

See Also