开发者

How to set the default error message in mvc2 validation

How can I change the default error message for required rule validation for exampl开发者_开发百科e?


You can check the Localizing ASP.NET Validation blog post of Phil Haack.


You can write your own MyRequiredAttribute in wich change the default error message and use it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜