Basic Date Picker Documentation

CompareValidator Class

Compares the value entered by the user into a date control with the value entered into another date control or a constant.

For a list of all members of this type, see CompareValidator Members.


[Visual Basic]
Public Class CompareValidator
    Inherits BaseCompareValidator
public class CompareValidator : BaseCompareValidator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Use the CompareValidator control to compare the date value entered by the user into a date control, such as a BasicDatePicker control, with the value entered into another date control, such as BasicDatePicker or BDPLite, or compare to a constant value.

The following table lists the various date controls that can be used with the CompareValidator.

Date Control Description
Other Any control that inherits from DateControlBase


Namespace: BasicFrame.WebControls

Assembly: BasicFrame.WebControls.BasicDatePicker (in BasicFrame.WebControls.BasicDatePicker.dll)

See Also

CompareValidator Members | BasicFrame.WebControls Namespace | System.Web.UI.WebControls.CompareValidator