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.

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         System.Web.UI.WebControls.Label
            System.Web.UI.WebControls.BaseValidator
               System.Web.UI.WebControls.BaseCompareValidator
                  BasicFrame.WebControls.BaseCompareValidator
                     BasicFrame.WebControls.CompareValidator

[Visual Basic]
Public Class CompareValidator
    Inherits BaseCompareValidator
[C#]
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.

Remarks

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
BasicDatePicker
BDPLite
Other Any control that inherits from DateControlBase

Requirements

Namespace: BasicFrame.WebControls

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

See Also

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