ASPxEdit.ClearEditorsInContainer(Control, String, Boolean) Method
In This Article
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.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public static void ClearEditorsInContainer(
Control container,
string validationGroup,
bool clearInvisibleEditors
)
#Parameters
Name | Type | Description |
---|---|---|
container | Control | A Control object that specifies the container of editors. |
validation |
String | A string value specifying the validation group’s name. |
clear |
Boolean |
|
#Remarks
This method can be used to reset the specified editors to null values while performing validation.
See Also