2
Vote

ASP.NET MVC client-side validation not working with rules in super-class

description

The client-side validation rules in ASP.NET MVC are not injected correctly, when the validation rules are split in "validator-class" and "validator-super-class". Server-side validation works fine.

Since it's really hard to explain, I built something the clearly repro the issue:
https://github.com/saxx/AspNetMvcClientSideValidationInPartialView

Please also see:
http://stackoverflow.com/questions/22011433/asp-net-mvc-fluentvalidation-partialview-no-client-side-validation

comments