ButtonSettings.CausesValidation Property
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.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if validation is performed when the button is clicked; otherwise, false. |
Remarks
If the CausesValidation property is set to true (the default value), then the button click forces validation of an editor group, specified via the ButtonSettings.ValidationGroup property.
The button’s properties can be used to specify a container for whose controls the button causes validation (ButtonSettings.ValidationContainerID), and whether invisible editors should be validated together with visible ones (ButtonSettings.ValidateInvisibleEditors).
See Also