Created
April 12, 2018 18:14
-
-
Save aaryan79831014/17fb170dd982364533473fe2c32bfc11 to your computer and use it in GitHub Desktop.
Allow only numbers in view with jquery enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[RegularExpression("([1-9][0-9]*)", ErrorMessage = "Enter only numeric number")] | |
public int Amount { get; set; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment