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 | |
---|---|---|
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 | |
---|---|---|
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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 | |
---|---|---|
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).) | |
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).) | |
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. | |
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. | |
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. | |
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. | |
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. | |
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