title: validation fails when not using an input property/tag
body: <p>I have the following code that contains validation:</p>
  
  <pre><code>&lt;div id="ContactDialog" style="display: none;"&gt;
  
      @Html.LabelFor(model =&gt; model.subject)
      @Html.TextBoxFor(model =&gt; model.subject, new { @class = "AboutControls" })
      @Html.ValidationMessageFor(model =&gt; model.subject)
      &lt;br /&gt;&lt;br /&gt;
      @Html.LabelFor(model =&gt; model.from)
      @Html.TextBoxFor(model =&gt; model.from, new { @class = "AboutControls" })
      @Html.ValidationMessageFor(model =&gt; model.from)
      &lt;br /&gt;&lt;br /&gt;
      @Html.LabelFor(model =&gt; model.body)
      @Html.TextAreaFor(model =&gt; model.body, new { @class = "AboutControls" })
      @Html.ValidationMessageFor(model =&gt; model.body)
      &lt;hr /&gt;
      &lt;br /&gt;&lt;br /&gt;   
  &lt;/div&gt;
  </code></pre>
  
  <p>This code is executed from JQuery ajax code. Because of this, the validation is not triggered. All the fields are required, but since they are not called through an <code>&lt;input type="submit" value="..." /&gt;</code> the validation is not triggered, and they will go through even when they are null, resulting in an exception. How can I make sure the validation is triggered even when no using an <code>&lt;input ... /&gt;</code>?</p>