Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What validation control is better: Range Validator, or RegEx Validator?

I am asking this because we are using textbox, where a user needs to insert the number between 0-99, containing 4 decimals (e.g.: 1.4567, 0,2345,…). This number needs to be validated.
Posted

1 solution

If you want it to be four decimals exactly, then I suggest using regex validator.

Not sure if Range Validator can validate for the exact number of decimal places.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900