title: Bridge between ASP.NET MVC 2 server validation and jQuery validation plugin
body: <p>Good day!</p>
  
  <p>I use ASP.NET MVC 2.0 with server validation (DataAnnotations + IDataErrorInfo for ViewModel classes). </p>
  
  <p>I can write my client validation by hand using jQuery validation plugin (I've done this for years :)) and this is the only approach when I can get very smart client validation.</p>
  
  <p>But for most cases it will be cool to pull server rules directly to client validation. I've looked here: <a href="http://haacked.com/archive/2009/11/19/aspnetmvc2-custom-validation.aspx" rel="nofollow">http://haacked.com/archive/2009/11/19/aspnetmvc2-custom-validation.aspx</a>
  but it seems to much code for such common task</p>
  
  <p>Questions (at last):</p>
  
  <ul>
  <li>What is better solution?</li>
  <li>Will ASP.NET MVC 3 bring anything in this area?</li>
  </ul>
  
  <p>Thanks!</p>