AutoValidate
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Determines how a control validates its data when it loses user input focus.
- C#
- VB.NET
public enum AutoValidate : Enum
Public Enum AutoValidate As [Enum]
Fields
| Name | Description |
|---|---|
| Disable | Implicit validation will not occur. Setting this value will not interfere with explicit calls to Validate or ValidateChildren. |
| EnableAllowFocusChange | Implicit validation occurs, but if validation fails, focus will still change to the new control. If validation fails, the Validated event will not fire. |
| EnablePreventFocusChange | Implicit validation occurs when the control loses focus. If validation fails, the Validated event will not fire. |
| Inherit | The control inherits its AutoValidate behavior from its container (such as a form or another control). If there is no container control, it defaults to EnablePreventFocusChange. |
Used By
| Name | Description |
|---|---|
| Form.AutoValidate | Returns or sets how the control performs validation when the user changes focus to another control. |
| Page.AutoValidate | Returns or sets how the control performs validation when the user changes focus to another control. |
| UserControl.AutoValidate | Returns or sets how the control performs validation when the user changes focus to another control. |