CaptchaValidationSettings.ValidationGroup Property
Gets or sets the group of controls for which the editor forces validation when it posts back to the server.
Namespace: DevExpress.Web.Captcha
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string value that specifies the group of controls for which the editor causes validation when it posts back to the server. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ValidationGroup |
---|---|---|
ASP.NET Web Forms Controls | ASPxCaptcha |
|
ASP.NET MVC Extensions | CaptchaSettings |
|
Remarks
Validation groups allow you to assign validation controls on a page to a specific category. Each validation group can be validated independently from other validation groups on the page. Use the ValidationGroup property to specify the name of the validation group for which the editor forces validation when it posts back to the server.
This property has an effect only when the CaptchaValidationSettings.EnableValidation property is set to true
. When you specify a value for the ValidationGroup property, only the validation controls that are part of the specified group are validated when the editor posts back to the server. If you do not specify a value for this property and the CaptchaValidationSettings.EnableValidation property is set to true
, all validation controls on the page that are not assigned to a validation group are validated when the editor posts back to the server.