title: How to use MVC Html Helper .DropDownListFor<> with an Enum
body: <p>In my MVC 3 Razor app, I have a Model with an enum..</p>
  
  <p>Model Example:</p>
  
  <pre><code>public class EmployeeModel
  {
   public enum Title
   {
    Accountant = 111,
    Sales = 222,
    Production = 333 
   }
  
   [Required]
   public string Name {get; set;}
  
   [Required]
   public Title JobTitle {get; set;}
  }
  </code></pre>
  
  <p>In my View I would like to use the Html helpers to build an Html Form...</p>
  
  <p>View Example:</p>
  
  <pre><code>@model ..Models.EmployeeModel
  
  @using (Html.BeginForm())
  {
   @Html.LabelFor(m =&gt; m.Name)
   @Html.TextBoxFor(m =&gt; m.Name)
   &lt;br&gt;
  
   @Html.LabelFor(m =&gt; m.JobTitle)
   @Html.DropDownListFor(m =&gt; m.JobTitle, ??How do I get Title enum values??)
   &lt;br&gt;
  
   &lt;input type="submit /&gt;
  }
  </code></pre>
  
  <p>The output of the DropDownListFor that I trying to achieve would look like this: 
  <em>Note the option values match the initialized values of the enum</em></p>
  
  <pre><code>&lt;select name="JobTitle"&gt;
   &lt;option value="-1"&gt;Choose a Job Title&lt;/option&gt;
   &lt;option value="111"&gt;Accountant&lt;/option&gt;
   &lt;option value="222"&gt;Sales&lt;/option&gt;
   &lt;option value="333"&gt;Production&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>How do I get the DropDownListFor&lt;> helper to create a select/option element based on the Title enum of the Model?</p>
  
  <p>Also, is it possible to have the DropDownListFor&lt;> helper to add an extra  (that is not part of the enum) similar to the "Choose a Job Title" option in the example above?</p>