ASPxClientEdit.ValidateEditorsInContainer(container) Method
Validates all editors in a specified visibility state, which are located within a specified container and belong to a specific validation group.
Declaration
static ValidateEditorsInContainer(
container: any,
validationGroup?: string,
validateInvisibleEditors?: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
container | any | An HTML element that contains editors. |
validationGroup | string | The validation group’s name. |
validateInvisibleEditors | boolean |
|
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Call this method to programmatically validate editors in the specified container on the client side.
Important
Use the PerformValidationInContainer(container) and PerformValidationInContainerById(containerId) methods to perform unobtrusive validation for editors in the specified container.
Note
If the container parameter is set to null, the method validates all/visible (under the validateInvisibleEditors parameter value) editors which belong to a specific validation group.
If the validationGroup parameter is set to null, the method validates all/visible (under the validateInvisibleEditors parameter value) editors located within the specified container.
If both the container and validationGroup parameters are set to null, the method validates all/visible (under the validateInvisibleEditors parameter value) editors on a page.