title: Show error message with alert box
body: <p>I would like to show error message with alert box in asp.net MVC3 Razor. I used dataanootation for my model. Please see below.</p>
  
  <pre><code>&lt;Required(ErrorMessage:="Name is required")&gt; _
  Public Name as string
  </code></pre>
  
  <p>In client side.</p>
  
  <pre><code>@Html.TextBoxFor(Function(model) model.Content)
  @Html.ValidationMessageFor(Function(model) model.Content, "Please type name")
  @Html.ValidationSummary()
  </code></pre>
  
  <p>But the error message show as a label beside of textbox. I want to show only alert box for error message. Thanks all.</p>