阅读背景:

我可以从Model类(而不是控制器)添加ModelState.AddModelError吗?

来源:互联网 

I want to display an error to the user in an ASP.MVC 3 input form using ModelState.AddModelError() so that it automatically highlights the right field and puts the error next to the particular field.I want to display an error to the user in an AS




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: