Share via


DelegateValidationControl Members

Include Protected Members
Include Inherited Members

This class and its members are reserved for internal use and are not intended to be used in your code. Implements a control that provides delegated validation and renders error messages.

The DelegateValidationControl type exposes the following members.

Constructors

  Name Description
Public method DelegateValidationControl This member is reserved for internal use and is not intended to be used directly from your code. Initializes a new instance of the DelegateValidationControl class.

Top

Properties

  Name Description
Public property ColumnSpan This member is reserved for internal use and is not intended to be used directly from your code. Gets or sets the column span value, which controls HTML table formatting when the validation error is being displayed on the input form.
Public property ControlToValidate This member is reserved for internal use and is not intended to be used directly from your code. Gets or sets the ID of the control to validate.
Public property EncodedErrorMessage This member is reserved for internal use and is not intended to be used directly from your code. Gets or sets the HTML encoded error message displayed by the control and clears the value of the ErrorMessage property when a new EncodedErrorMessage property is set.
Public property ErrorMessage This member is reserved for internal use and is not intended to be used directly from your code.Gets or sets the validation error message displayed by the control. When the property is set, the specified value is appended to the current error message string and the value for the EncodedErrorMessage property is set to match. Specifying a null reference (Nothing in Visual Basic) for the value of the property clears the error message.
Public property IsInputForm This member is reserved for internal use and is not intended to be used directly from your code. Gets or sets the value to indicate whether the error message will be rendered for an input form.
Public property IsValid This member is reserved for internal use and is not intended to be used directly from your code. Gets or sets a value that indicates whether the control being validated passed the validation process. This property is set by the delegate callback function that performs the validation.
Public property ValidationCallback This member is reserved for internal use and is not intended to be used directly from your code.Gets or sets the delegate that is used to register the callback method to perform the validation.

Top

Methods

  Name Description
Protected method OnInit This member is reserved for internal use and is not intended to be used directly from your code. Raises the Init event. (Overrides Control.OnInit(EventArgs).)
Protected method Render This member is reserved for internal use and is not intended to be used directly from your code. Renders the validation error message to the provided HtmlTextWriter object, which writes the content to be rendered on the client. (Overrides WebControl.Render(HtmlTextWriter).)
Public methodStatic member RenderInputFormValidationErrorAfterMessage This member is reserved for internal use and is not intended to be used directly from your code. Renders the HTML required to display the validation error message on an input form.
Public methodStatic member RenderInputFormValidationErrorBeforeMessage This member is reserved for internal use and is not intended to be used directly from your code. Renders the HTML required to display the validation error message on an input form.
Public methodStatic member RenderValidationErrorAfterMessage This member is reserved for internal use and is not intended to be used directly from your code. Renders the HTML required to display the validation error message in a table.
Public methodStatic member RenderValidationErrorBeforeMessage This member is reserved for internal use and is not intended to be used directly from your code. Renders the HTML required to display the validation error message in a table.
Public methodStatic member RenderValidationErrorMessage This member is reserved for internal use and is not intended to be used directly from your code. Renders the validation error message in an HTML table.
Public method Validate Checks to see whether the DelegateValidationControl instance is enabled, and, if so, calls the delegate callback function specified by the ValidationCallback property to validate the control.

Top

See Also

Reference

DelegateValidationControl Class

Microsoft.Office.Server.WebControls Namespace