RangeValidator issue in ASP.NET

I used RangeValidator to check client-side user input for double values.

One of my users said that when it enters 5E-10, my range validator does not understand this number as a valid double.

What are you suggesting me to do?

Thanks CAS

+3
source share
1 answer

This is a known issue with RangeValidator.

Instead, you will need to use CustomValidatorand manually verify that the user's input is within the acceptable range, including the resolution of scientific notation.

+1
source

Source: https://habr.com/ru/post/1731474/


All Articles