ASP.NET MVC: ValidationAttribute and localized ErrorMessage

前端 未结 0 1603
梦谈多话
梦谈多话 2021-02-09 04:07

I have ValidationAttribute like:

    public class Username : ValidationAttribute
 {
  public override bool IsValid(object value)
  {
   if (value == null)
    re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题