Skip to main content

ASPxEdit.ClearEditorsInContainer(Control, String) Method

Assigns a null value to all visible editors that are located within the specified container object and belong to a specific validation group.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public static void ClearEditorsInContainer(
    Control container,
    string validationGroup


Name Type Description
container Control

A Control object that specifies the container of editors.

validationGroup String

A string value specifying the validation group’s name.


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

See Also