ASPxEdit.ClearEditorsInContainer(Control, String, Boolean) Method

Assigns a null value to all editors which are located within the specified container object and belong to a specific validation group, depending upon their visibility state specified.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public static void ClearEditorsInContainer(
    Control container,
    string validationGroup,
    bool clearInvisibleEditors
Public Shared Sub ClearEditorsInContainer(
    container As Control,
    validationGroup As String,
    clearInvisibleEditors As Boolean


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.

clearInvisibleEditors Boolean

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


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

See Also