title: ASP.net MVC Listbox
body: <p>I have a number of Html.Listbox controls on my view which are being populated by an <code>IEnumberable&lt;SelectListItem&gt;</code></p>
  
  <p>Is there a way that when the data is populated, that some items are automatically selected?</p>
  
  <p>The particular selectlist items in the IEnumerable are marked as Selected = true, yet this does not convey into the view.</p>
  
  <p>The view is as such:</p>
  
  <pre><code>&lt;%= Html.ListBox("projects", Model.Projects)%&gt;
  </code></pre>
  
  <p>Thanks.</p>