问题
I use the below url code for date validation in mvc, but it is not showing the error.
"MVC Model Range Validator?"
any help?
回答1:
Your comment in that question says (ErrorMessage="") which will give a blank error message and ergo you will not see a message. delete this statement to use the default or write your own.
来源:https://stackoverflow.com/questions/19246308/model-date-range-validator-in-mvc