Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Base Compare Validation Control Properties

Base Compare Validation Control Properties

The property listed in the following table applies to all validation controls that perform typed comparisons, such as CompareValidator and RangeValidator.


Specifies the data type of the values being compared. The values are converted to this data type before the comparison is made. This property is set with one of the ValidationDataType enumeration values. Validation fails if the value of the input control cannot be converted to the specified data type.

Community Additions

© 2015 Microsoft