title: Why HtmlHelper would skip validation attributes
body: <p>Why <code>@Html.TextBoxFor</code> and other helpers would skip jquery.validation attributes and create elements without those? Am I missing some references or something? It's MVC 3.0 project.</p>
  
  <p>If I add them manually like that:</p>
  
  <pre><code>@Html.TextBoxFor(x =&gt; x.Name, 
         new { data_val="true", data_val_required="Need that field" })
  </code></pre>
  
  <p>then unobtrusive validation works. But it's suppose build elements and put those attributes  based on Model's <code>DataAnnotations</code>. Model is there, textbox inside of a form body, and still doesn't work. What could it be? </p>
  
  <p>upd: <code>UnobtrusiveJavaScriptEnabled</code> set to <code>true</code> in <code>web.config</code></p>