title: ASP.NET MVC4 DropDownListFor is not showing the selected value from the DataSource
body: <p>In one of our ASP.NET MVC 4 views, we have a DropDownListFor (along with other html controls) as follows:</p>
  
  <pre><code>@Html.DropDownListFor(model=&gt;model.ProductType,
                        (List&lt;SelectListItem&gt;)ViewBag.ProductType,
                        "--- Select Product Type ----")
  </code></pre>
  
  <p>The list is getting populated from a database lookup table. When we click on the submit button, all the controls values including the selected value of the dropdownlist get inserted into the database successfully. But when the page is displayed the dropdown's selected value always shows "--- Select Product Type ----" instead of the value that was inserted into the database.</p>
  
  <p>Please help. Thanks.</p>