Validation Attribute get triggered two times
问题 In my MVC3 application I have the model ( not important properties deleted ): public class AccountViewModel { [StringLength(65)] public string Property1 { get; set; } [StringLength(65)] public string Property2 { get; set; } } The problem is when an action is submited validation attribute called twice, and I can get 4 errors in summary, instead of 2: 'Property1' length must be less than 65 characters 'Property1' length must be less than 65 characters 'Property2' length must be less than 65