title: How can I do "causesvalidation=false" in ASP.NET MVC 2?
body: <p>I have two buttons on a single form.  One is used to submit the form while the other is used to search.  I do not want the search button to trigger any server side or client side validation.</p>
  
  <p>How can I do this?</p>
  
  <p>Thanks.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I'm using Data Annotations on the server to validate, example:</p>
  
  <pre><code>    [Required(ErrorMessage = "Institution is required")]
      [Range(1, 2, ErrorMessage="Please select an institution")]
      [DisplayName("Institution")]
      public int InstitutionId { get; set; }
  </code></pre>
  
  <p>And on the client I'm using this:</p>
  
  <pre><code>&lt;% Html.EnableClientValidation(); %&gt;
  </code></pre>