title: ASP.Net 2012 Unobtrusive Validation with jQuery
body: <p>I was playing with Visual Studio 2012 and I created an <strong>empty ASP.Net Web Application</strong>, when I tried to add the <em>traditional validator controls</em> to a new page, this error occurs:</p>
  
  <blockquote>
    <p>WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).</p>
  </blockquote>
  
  <p>What are the steps to fix it?</p>
  
  <p>This is my page markup:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;asp:Panel runat="server" ID="pnlUsername" GroupingText="Username settings"&gt;
      &lt;div&gt;
          &lt;asp:Label ID="usernameLabel" Text="Please enter your username" runat="server" AssociatedControlID="username" /&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;asp:TextBox runat="server" ID="username" /&gt;
          &lt;asp:RequiredFieldValidator ErrorMessage="The username is required" ControlToValidate="username" runat="server" Text=" - Required" /&gt;
      &lt;/div&gt;
  &lt;/asp:Panel&gt;
  </code></pre>