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
Public method InputFormStringTypeValidator Initializes a new instance of the InputFormStringTypeValidator class.

Top

Properties

  Name Description
Public property StringType Gets or sets the StringType to be used when validating strings.

Top

Methods

  Name Description
Protected method OnServerValidate Calls the ValidateString() method with the value parameter and the current StringType property to validate the string. (Overrides CustomValidator.OnServerValidate(String).)
Protected method ValidateString Validates the string that is based on the StringType.

Top

Fields

  Name Description
Public field AllowEmpty Indicates whether an empty string is allowed.

Top

See Also

Reference

InputFormStringTypeValidator Class

Microsoft.SharePoint.Portal.WebControls Namespace