title: drop down list validation message mvc
body: <p>In my viewModel I have </p>
  
  <pre><code>public string Addressline1 { get; set; }
  public List&lt;SelectListItem&gt; StateList
      {
          get
          {
              return State.GetAllStates().Select(state =&gt; new SelectListItem { Selected = false, Text = state.Value, Value = state.Value }).ToList();
          }
      }
  </code></pre>
  
  <p>In the view I have </p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.StateCode, Model.StateList, "select")
  </code></pre>
  
  <p>when AddressLine1 is entered, then the statelist DropDownList selection is Required.How do I  validate and show an error message when no state is selected in the Drop down list other than default "select" value?</p>