RangeValidator

The RangeValidator control makes sure that the user value or selection provided is within a specified range as opposed to being just greater than or less than a specified constant.

You can set the range using the MaximumValue and MinimumValue properties.

The RangeValidator control also makes sure that what is entered and what kind of a data type. It uses the Type property.

The RangeValidator control is not only used for validating numbers .It can also validate a range of string characters as well as other items, including calendar dates. By default, the Type property of any of the validation controls is set to String.

Scroll to Top