title: asp.mvc3 @Html.DropDownListFor<> not working correctly
body: <p>I have a strange issue with dropdown list in ASP.MVC3.
  I have a view model that looks like this:</p>
  
  <pre class="lang-cs prettyprint-override"><code>public class dto{
    [Key]
    public Int32 ClientID { get; set; }
    [Required, MaxLength(50)]
    public Name{get;set;}
  
    public int ClientTypeID { get; set; }
  
    public SelectList ClientTypes { get; set; }
  }
  </code></pre>
  
  <p>Razor use:</p>
  
  <pre class="lang-cs prettyprint-override"><code>&lt;div class="editor-label"&gt;
      @Html.LabelFor(model =&gt; model.ClientTypeID)
  &lt;/div&gt;
  &lt;div class="editor-field"&gt;
      @Html.DropDownListFor(x =&gt; x.ClientTypeID,Model.ClientTypes)
  &lt;/div&gt;
  </code></pre>
  
  <p>In the controller i fill the ClientTypes with data.
  When i use it to create a new dto object it works fine, and the selection is transfered back to controler and saved.
  It also works fine when i use it to Edit an existing object, the proper value is selected when the page opens.</p>
  
  <p>Problem is, when i change the selection, it does not get posted back to controler, while other edited values are returned correctly.</p>
  
  <p>Can anyone point me in the direction of the problem?</p>
  
  <p>thank You.</p>