65.9K
CodeProject is changing. Read more.
Home

RangeValidator

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Oct 11, 2013

CPOL
viewsIcon

7261

The RangeValidator control tests whether an input value falls within a given range. RangeValidator uses three key properties to perform its

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