O'Reilly logo

ASP.NET by Example by Steven A. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

RangeValidator Control

The RangeValidator control is used to ensure that the input for a particular form field falls within a particular range of values. It extends upon the BaseValidator class's properties by adding three additional properties described in Table 8.4. To define a range of values for a control, it is necessary to know the minimum and maximum values of the range, as well as the type of data (numeric, date, and so forth) involved.

Table 8.4. RangeValidator Class Additional Properties
Method Type Description
MaximuumValue String The minimum valid value for the ControlToValidate.
MinimumValue String The maximum valid value for the ControlToValidate.
Type ValidationDataType The data type of value in the ControlToValidate. Must be one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required