Validation Controls[2]->RangeValidator
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 following sample illustrates the RangeValidator control.
For a detailed discussion of Web Forms validation, please see the Validating Form Input Controls section of this QuickStart tutorial.
The following sample illustrates the RangeValidator control.
For a detailed discussion of Web Forms validation, please see the Validating Form Input Controls section of this QuickStart tutorial.


浙公网安备 33010602011771号