Model date Range Validator in mvc

半腔热情 提交于 2019-12-13 05:11:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!