InputFormStringTypeValidator Members
Include Protected Members
Include Inherited Members
Represents a validator used to validate strings that are based on rules specific to a StringType.
The InputFormStringTypeValidator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InputFormStringTypeValidator | Initializes a new instance of the InputFormStringTypeValidator class. |
Top
Properties
Name | Description | |
---|---|---|
StringType | Gets or sets the StringType to be used when validating strings. |
Top
Methods
Name | Description | |
---|---|---|
OnServerValidate | Calls the ValidateString() method with the value parameter and the current StringType property to validate the string. (Overrides CustomValidator.OnServerValidate(String).) | |
ValidateString | Validates the string that is based on the StringType. |
Top
Fields
Name | Description | |
---|---|---|
AllowEmpty | Indicates whether an empty string is allowed. |
Top