ButtonSettings.CausesValidation Property
In This Article
Gets or sets a value indicating whether validation (client and server) is performed when the button is clicked.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true if validation is performed when the button is clicked; otherwise, false. |
#Remarks
By default, a button click forces validation of an editor group that is specified by the ASPxButton.ValidationGroup property.
Note
Set the Causes
You can use the following API to specify validation settings:
- ButtonSettings.ValidationContainerID - Specifies a container that contains controls for which the button causes validation.
- ButtonSettings.ValidateInvisibleEditors - Specifies whether to validate both invisible and visible editors.
See Also