title: Kendo UI DropDownList Problems - MVC Razor
body: <pre><code>@(Html.Kendo().DropDownListFor(m =&gt; m.PackageId)
                                                .OptionLabel("Select a Package...")
                                                .Name("PackageId")
                                                .DataValueField("PackageId")
                                                .DataTextField("PackageName")
                                                .BindTo(Model.ListOfTenantPackages)
                                                .Template("&lt;div class=\"k-state-default\"&gt;#:data.PackageName#&lt;/div&gt;&lt;div class=\"k-state-default\"&gt;#:data.PackageValue #&lt;/div&gt;&lt;div class=\"k-state-default\"&gt;#:data.PackageDescription #&lt;/div&gt;")
                                                .HtmlAttributes(new { @class="drop-down col-lg-6 col-md-6", onchange = "update_preview()"}))
  </code></pre>
  
  <p>This is the code that I have for my Kendo dropdown list. On the post back, I'm getting the package name as the value of the selected item instead of the package ID. Why?</p>