title: ASP.NET MVC client-side e-mail validation doesn't work
body: <p>In my registration form I want to put some client-side validations with MVC regular expressions, but it doesn't work... Here is part of model's code</p>
  
  <pre><code>        [Required]
          [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "Please enter a valid e-mail adress")]
          [DataType(DataType.EmailAddress)]
          [Display(Name = "Email address*")]
          public string Email { get; set; }
  </code></pre>
  
  <p>But the message don't want to appear anyway... What is wrong here?</p>
  
  <p>EDIT</p>
  
  <p>In my View I have this</p>
  
  <pre><code>            &lt;div&gt;
              &lt;div class="editor-label"&gt;
                  @Html.LabelFor(m =&gt; m.Email)
              &lt;/div&gt;
              &lt;div class="editor-field"&gt;
                  @Html.TextBoxFor(m =&gt; m.Email)
                  @Html.ValidationMessageFor(m =&gt; m.Email)
              &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>And I've also include jQuery libraries in my layout</p>
  
  <pre><code>&lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;title&gt;@ViewBag.Title&lt;/title&gt;
      &lt;link href="/Content/Site.css" rel="stylesheet" type="text/css" /&gt;
      &lt;script src="/Scripts/jquery-1.5.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="/Scripts/modernizr-1.7.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="/Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/Scripts/jquery.validate.min.js"&gt;&lt;/script&gt;
      &lt;script src="/Scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"&gt;&lt;/script&gt;
      @RenderSection("Head")
  &lt;/head&gt;
  </code></pre>