In this tutorial we will see the validation controls.
So, no postback will be required when doing the comparison and hence resources will be saved and performance will increase.
The range can be used when you need to restrict the user data.
Suppose you want the user to enter the number in the Text Box which is between 20 and 25 you can use range validator mimimum and maximum properties to restrict the user input.
Apart from the regular expressions that ship with the framework you can also make your own regular expressions using the using System. You can check the range of values against different data types such as String, Date, Integer and so on.
The two most important properties of the range validator control is the Maximum value and the minimum value.