I am trying to trace through why my ASP.NET MVC 2 validation isn't working, but I cant find enough about HOW it works to be able to do this.
I have followed the steps in this useful article by David Hayden which seems to be the best documentation currently out there, but nothing actually happens.
I get validation when i submit to the server (as I did since Preview 1 when i added data annotations to my model) but I'm not getting any client side validation.
How can i trace through to test? So far I have verified the following obvious things
- MicrosoftMvcJQueryValidation.js and jquery.validate.min.js files are being downloaded
- Html.ClientValidationEnabled = true
I cant see easily what is hooking up to which events to know quite how to debug it.