title: DropDownListFor, selected = true doesn't work
body: <p>Select doesn't work for me with DropDownListFor. Can anyone help me?</p>
  
  <p>I have musiccategories and artists that belong to one musiccategory. On my page I want to show artist details, and I want the dropdownlist to load all musiccategories with the specified artists music category selected. But I can't make one specified option in the drop down list selected, the first option is always selected at first. </p>
  
  <p>My controller:</p>
  
  <pre><code>public ActionResult Index()
  {
        ClassLibrary.Artist a = GetArtist();
        System.Collections.Generic.List&lt;System.Web.Mvc.SelectListItem&gt; items = getGenres();
        string genre = a.MusicCategory;
        foreach (SelectListItem sli in items)
        {
            if (sli.Text == genre)
            {
                sli.Selected = true;
            }
        }
        ViewBag.MusicCategory = items;
        return View(a);
  }
  </code></pre>
  
  <p>My first model:</p>
  
  <pre><code>public class MusicCategory
  {
      public int MusicCategoryID { get; set; }
      public string MusicCategoryName { get; set; }
  }
  </code></pre>
  
  <p>My secound model:</p>
  
  <pre><code>public class Artist
      {
          public int Id { get; set; }
          public string Name { get; set; }
          public string City { get; set; }
          public string Country { get; set; }
          public string Description { get; set; }
          public string MusicCategory { get; set; }
          public int MusicCategoryID { get; set; }
          public int Contact { get; set; }
          public string InformationToCrew { get; set; }
          public string Agreement { get; set; }
          public string WantedStage { get; set; }
          public string AgreementAccepted { get; set; }
          public string PublishingStatus { get; set; }
          public string ApplicationStatus { get; set; }
          public int? ActiveFestival { get; set; }
          public string ImageURL { get; set; }
          public string URL { get; set; }
          public string FacebookEvent { get; set; }
          public int Score { get; set; }
          public List&lt;GroupMember&gt; GroupMembers { get; set; }
      }
  </code></pre>
  
  <p>My view:</p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.MusicCategory, (System.Collections.Generic.List&lt;System.Web.Mvc.SelectListItem&gt;)ViewBag.MusicCategory)
  </code></pre>