Back to Devexpress

ValidationSettings Properties

aspnet-devexpress-dot-web-dot-validationsettings-dot-underscore-properties.md

latest2.7 KB
Original Source

ValidationSettings Properties

Contains the settings that relate to editor validation.

NameDescription
CausesValidationGets or sets a value that specifies whether validation is performed when the editor is set to validate when a postback occurs.
DisplaySpecifies whether an editor renders an empty space for the error message initially or dynamically when the editor fails validation.
EnableCustomValidationGets or sets a value that specifies whether an error frame should be rendered on the client side when you implement a custom validation.
ErrorDisplayModeGets or sets a value that specifies how an error message is displayed within the editor’s error frame.
ErrorFrameStyleGets the style properties for the editor’s error frame.
ErrorImageGets the settings that define an error image displayed within the editor’s error frame if the editor’s validation fails.
ErrorTextGets or sets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
ErrorTextPositionGets or sets the error text’s position within the error frame relative to the validated control.
RegularExpressionGets the settings that define the regular expression validation’s rules.
RequiredFieldGets the settings that define the required field validation’s rules.
SetFocusOnErrorGets or sets a value that specifies whether focus is set to the editor when validation fails.
ValidateOnLeaveGets or sets a value that specifies whether validation is performed when the editor value is changed.
ValidationGroupGets or sets the name of a validation group to which the editor belongs.

See Also

ValidationSettings Class

ValidationSettings Members

DevExpress.Web Namespace