title: MVC3 DropDownList + ViewBag issue
body: <p>This code works fine</p>
  
  <pre><code>List&lt;StateModelView&gt; stateList = (from x in db.States
                                  select new StateModelView {
                                      ID = x.ID,
                                      StateName = x.StateName
                                  }).OrderBy(w =&gt; w.StateName).ToList();
  
  ViewBag.StateList = new SelectList(stateList, "ID", "StateName");
  </code></pre>
  
  <p>under HTML I have </p>
  
  <pre><code> @Html.DropDownList("StateList", ViewBag.StateList)
  </code></pre>
  
  <p>Anyway I got the error</p>
  
  <p><strong>CS1973: 'System.Web.Mvc.HtmlHelper' has no applicable method named 'DropDownList' but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax.</strong></p>
  
  <p>How I can resolve it?</p>