title: DropdownListFor doesn't select (who'd a guessed?)
body: <p>I have a dropdownlist that will not display the selected value correctly. It does have the correct elements in it, has the correct text and values being used but there just doesn't seem to be a way to make it actually select the correct value.</p>
  
  <p>What I've got is:</p>
  
  <pre><code>public class StateViewModel {
      public string Name { get; set; }
      public string Abbr { get; set; }
  }
  
  public class ChangeAddressViewModel {
      //edited down to what's needed
      public StateViewModel StateViewModel { get; set; }
      public IEnumerable&lt;StateViewModel&gt; StateViewModels { get; set; }
  }
  </code></pre>
  
  <p>What I've tried:</p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.StateViewModel
      , Model.StateViewModels.Select(x =&gt; new SelectListItem {
           Text = x.Name,
           Value = x.Abbr,   
           Selected = x.Abbr == Model.StateViewModel.Abbr
           })
      , @Resource.SelectState)
  
  //i've stepped through the lambda above and the expression 
  //x.Abbr == Model.StateViewModel.Abbr 
  //did evaluate to true for one of the iterations
  
  @Html.DropDownListFor(model =&gt; model.StateViewModel
      , new SelectList(Model.StateViewModels
      , "Abbr"
      , "Name"
      , Model.StateViewModel.Abbr)
      , @Resource.SelectState)
  </code></pre>