that it accepts only numbers as input. Users will not be allowed to enter
anything other than numbers in the textbox.
I have added a
RegularExpressionValidator to validate user entrieson the server side. It uses the following expression:
(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|
(^0$)|(^[-]?[1-9]\d+\.\d$)|(^[-]?[0-9]\.\d$)
No comments:
Post a Comment