RequestFieldValidatorBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serves as the abstract base class for the validation helper classes.
public abstract class RequestFieldValidatorBase : System.Web.WebPages.IValidator
type RequestFieldValidatorBase = class
interface IValidator
Public MustInherit Class RequestFieldValidatorBase
Implements IValidator
- Inheritance
-
RequestFieldValidatorBase
- Implements
Constructors
RequestFieldValidatorBase(String, Boolean) |
Initializes a new instance of the derived class, registers the specified string as the error message to display if no value is supplied, and specifies whether the method can use unvalidated data. |
RequestFieldValidatorBase(String) |
Initializes a new instance of the derived class and specifies the name of the HTML element that is being validated. |
Properties
ClientValidationRule |
When implemented in a derived class, gets a container for client validation for the required field. |
Methods
GetHttpContext(ValidationContext) |
Returns the HTTP context of the current request. |
GetRequestValue(HttpRequestBase, String) |
Returns the value to validate. |
IsValid(HttpContextBase, String) |
Returns a value that indicates whether the specified value is valid. |
Validate(ValidationContext) |
Performs the validation test. |