System.Web.UI.WebControls.CompareValidator Members

The members of System.Web.UI.WebControls.CompareValidator are listed below.

See Also: Inherited members from System.Web.UI.WebControls.BaseCompareValidator

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.CompareValidator class.

Public Properties

ControlToComparestring.

Gets or sets the input control to compare with the input control being validated.

OperatorValidationCompareOperator.

Gets or sets the comparison operation to perform.

ValueToComparestring.

Gets or sets a constant value to compare with the value entered by the user in the input control being validated.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the attributes of this control to the output stream for rendering on the client.

override
ControlPropertiesValid() : bool

Checks the properties of the control for valid values.

override
EvaluateIsValid() : bool

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.