title: MVC3 Client side validation not working
body: <p>I'm using MVC3 with Razor.<br>
  I've included the following in my _Layout.cshtml:  </p>
  
  
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"&gt;&lt;/script&gt;  
  </code></pre>
  
  <p>My form looks like:  </p>
  
  <pre><code>  @{
         ViewBag.Title = "Register"; 
         Html.EnableClientValidation();
     }  
     @using (Html.BeginForm("Register"))
     {
        &lt;fieldset&gt;
          &lt;p&gt;
              @Html.LabelFor(o =&gt; o.Email)
              @Html.TextBoxFor(o =&gt; o.Email)
              @Html.ValidationMessageFor(o =&gt; o.Email)
          &lt;/p&gt;
    ...
   &lt;/fieldset&gt;
  }
  </code></pre>
  
  <p>My ViewModel has DataAnnotations (and implements IValidatableObject), and it validates during controller action. However I cannot seem to be able to use JS validation on the clientside without posting the form.</p>
  
  <p>What am I missing?</p>