Skip to main content
Tab

ValidationSettings Members

Contains the settings that relate to editor validation.

Properties

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 Specifies whether an editor renders an empty space for the error message initially or dynamically when the editor fails validation.
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.

Methods

Name Description
Assign(PropertiesBase) Copies the settings of the specified object to the current one.
CreateValidationSettings(ASPxEdit) static For internal use only.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object.
See Also