title: How to client side validate the dropdownlist box in razor mvc3?
body: <p>How to client side validate the dropdownlist box.....</p>
  
  <pre><code>            @Html.DropDownListFor(per =&gt; per.Gender, new[] {
                          new SelectListItem(){Text = "Male" , Value="Male"},
                          new SelectListItem(){Text ="Female" , Value = "Female"},
                      }, "Select Your Gender")
              @Html.ValidationMessageFor(per =&gt; per.Gender)
  </code></pre>