Skip to main content
Version: 3.5

AutoValidate

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Determines how a control validates its data when it loses user input focus.

public enum AutoValidate : Enum

Fields

NameDescription
DisableImplicit validation will not occur. Setting this value will not interfere with explicit calls to Validate or ValidateChildren.
EnableAllowFocusChangeImplicit validation occurs, but if validation fails, focus will still change to the new control. If validation fails, the Validated event will not fire.
EnablePreventFocusChangeImplicit validation occurs when the control loses focus. If validation fails, the Validated event will not fire.
InheritThe 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

NameDescription
Form.AutoValidateReturns or sets how the control performs validation when the user changes focus to another control.
Page.AutoValidateReturns or sets how the control performs validation when the user changes focus to another control.
UserControl.AutoValidateReturns or sets how the control performs validation when the user changes focus to another control.