Skip to main content
A newer version of this page is available. .
Tab

ValidationSettings Properties

Contains the settings that relate to editor validation.
Name Description
CausesValidation Gets or sets a value that specifies whether validation is performed when the editor is set to validate when a postback occurs.
Display Gets or sets a value that specifies the render style of the error message displayed along the editor if its value has not passed the validation criteria specified.
EnableCustomValidation Gets or sets a value that specifies whether an error frame should be rendered on the client side when you implement a custom validation.
ErrorDisplayMode Gets or sets a value that specifies how an error message is displayed within the editor’s error frame.
ErrorFrameStyle Gets the style properties for the editor’s error frame.
ErrorImage Gets the settings that define an error image displayed within the editor’s error frame if the editor’s validation fails.
ErrorText Gets or sets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
ErrorTextPosition Gets or sets the error text’s position within the error frame relative to the validated control.
RegularExpression Gets the settings that define the regular expression validation’s rules.
RequiredField Gets the settings that define the required field validation’s rules.
SetFocusOnError Gets or sets a value that specifies whether focus is set to the editor when validation fails.
ValidateOnLeave Gets or sets a value that specifies whether validation is performed when the editor value is changed.
ValidationGroup Gets or sets the name of a validation group to which the editor belongs.
See Also