Home / ASP.NET Wiki / HTML / Web Controls / Validation Controls / RangeValidator

RangeValidator

 Rate It (0)

The RangeValidator control tests whether an input value falls within a given range. RangeValidator uses three key properties to perform its validation: ControlToValidate contains the value to validate, MinimumValue defines the minimum value of the valid range, and MaximumValue defines the maximum value of the valid range. These constants are stored as string values, but are converted to the data type defined by Type when the comparison is performed. The data types supported by the RangeValidator are:

  • String
  • Integer
  • Double
  • Date
  • Currency

Whitepapers/Blogs

Revision number 4, Wednesday, July 09, 2008 7:05:46 AM by k_nitin_r

Comments

Related Articles

customvalidator

The customvalidator control allows writing custom validation for a control. So, if the others validators: RangeValidator, RequiredFieldValidator, RegularExpressionValidator, CompareValidator, is not useful for a specific validation, it is possible to write

Web Controls

Web controls are ASP.NET controls which are understood and compiled on the server and render as HTML markup on the page. Most of the web server controls render their own HTML controls (or many HTML controls). The markup that is output froma web control can

Validation Controls

ASP.NET Validation Controls are powerful server controlsthat areused for validating user input. These controls provides both server side and client side validation. The client side validation featurescan be used to give your users an improved UI experience

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)