title: DropDownListFor() bindling value AND text to viewmodel
body: <p>I have a form on a View with a dropdown list, implemented with DropDownListFor(). This View is strongly typed to a ViewModel, which has a SelectList property to hold the options of the dropdown, and then another property to hold the selected value of the dropdown. This is working fine, but what I'd like to do is, hold both the selected value AND selected text of the dropdown in my second property. The reason I want to do this is so that as the form selfposts, I have both the text and value of each selection.</p>
  
  <p>I tried changing the selected value property from an int to a KeyValuePair but only the int part of the pair is set on form submission.</p>
  
  <p>Perhaps there is a better way altogether to accomplish this, I am open to all suggestions including a partial redesign of my methods.</p>
  
  <p>Controller (building SelectList)</p>
  
  <pre><code>SelectList leadTypeGroups = new SelectList(_enrollmentRepository.GetLeadTypeGroups(), "Key", "Value");
  </code></pre>
  
  <p>ViewModel</p>
  
  <pre><code>public KeyValuePair&lt;int, string&gt; LeadTypeGroupID { get; set; }
  public SelectList LeadTypeGroups { get; set; }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>@Html.DropDownListFor(selected =&gt; Model.LeadTypeGroupID, Model.LeadTypeGroups, " ")
  </code></pre>