title: How does validation in ASP.NET MVC 2 actually work?
body: <p>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.</p>
  
  <p>I have followed the steps in this <a href="http://davidhayden.com/blog/dave/archive/2009/10/07/ClientSideValidationjQueryMvc.aspx" rel="noreferrer">useful article by David Hayden</a> which seems to be the best documentation currently out there, but nothing actually happens.</p>
  
  <p>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.</p>
  
  <p>How can i trace through to test? So far I have verified the following obvious things</p>
  
  <ul>
  <li>MicrosoftMvcJQueryValidation.js and jquery.validate.min.js files are being downloaded</li>
  <li>Html.ClientValidationEnabled = true</li>
  </ul>
  
  <p>I cant see easily what is hooking up to which events to know quite how to debug it. </p>