|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Introduction to the RangeValidator Control
Use thecontrol to validate that user input falls within a specified range. Set the RangeValidator control's property to the ID of the or to validate.
Specify minimum and maximum range values by using theand properties. If the validation fails, the RangeValidator control displays the text in its property.
When you add a RangeValidator control to a container control or template, the following settings are made:
The ErrorMessage property is set to "RangeValidator".
Theproperty is set to "error", which is the name of a predefined style in the default .