Basic Date Picker Documentation

CompareValidator Constructor 

Creates a new instance of the CompareValidator class.

[Visual Basic]
Public Sub New()
public CompareValidator();


This constructor is not called directly. Validation controls that inherit from this class can call this constructor from their own constructors to initialize the base properties.

The following table shows initial property values for an instance of BaseValidator.

Property Initial Value
IsValid true
ForeColor Color.Red

See Also

CompareValidator Class | BasicFrame.WebControls Namespace | CompareValidator | CustomValidator | DifferenceValidator | RangeValidator | RegularExpressionValidator | RequiredFieldValidator