开发者

RangeValidator Problem in ASP.NET

I was using RangeValidator to validate user input on client side for double values.

On开发者_Python百科e of my user said that when he enters 5E-10, my range validator does not understand that number as a valid double.

What do you suggest me to do?

Thanks, cas


This is a known problem with RangeValidator.

You'll need to use a CustomValidator instead, and manually verify the user's input is within the allowed range - including allowing scientific notation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜