title: DropDownList with Enum Kendo UI
body: <p>I'm working on updating an application to use Kendo UI and have run into an issue with binding to an Enum with the DropDownList.  The two issues I am having is 1) the value does not contain the Enum value and instead contains "Today" (should be 0), and 2) The display value is always "Last10Days" instead of "Last 10 Days" in the description tag. I looked and couldn't find another place where someone has used Kendo UI to display the description as the text and include the numerical value instead of the text.  Any help is appreciated. </p>
  
  <h2>View</h2>
  
  <pre><code>&lt;div class="span6"&gt;
    @Html.LabelFor(m=&gt; m.DateRanges)
    @(Html.Kendo().DropDownListFor(m =&gt; m.DateRanges)
        .BindTo(Enum.GetNames(typeof(SearchDateRanges)).ToList())
        .HtmlAttributes(new { value = "Today" })
        .DataTextField("Text")
        .Events(e =&gt; e.Change("DateChange")))
  &lt;/div&gt;
  
  &lt;div class="span6"&gt;
    @Html.LabelFor(m =&gt; m.Status)
    @(Html.Kendo().DropDownListFor(m=&gt; m.Status)
        .BindTo(Enum.GetNames(typeof(SearchStatusCriteria)).ToList())
        .HtmlAttributes(new {value = "All"}))
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <h2>Model</h2>
  
  <pre><code>    public enum SearchDateRanges
  {
      [Description("Today")]
      Today = 0,
  
      [Description("Last 10 Days")]
      Last10Days = 1,
  
      /// &lt;summary&gt;
      /// The last 30 days.
      /// &lt;/summary&gt;
      [Description("Last 30 Days")]
      Last30Days = 2,
  
      [Description("Last 60 Days")]
      Last60Days = 3,
  
      [Description("Last 90 Days")]
      Last90Days = 4,
  
      [Description("Custom Date Range")]
      CustomRange = 5
  }
  </code></pre>
  
  <p>}</p>