html.kendo.dropdownlist

2 posts, 0 answers
  1. Zunaid
    Zunaid avatar
    1 posts
    Member since:
    Jul 2012

    Posted 28 Jul 2012 Link to this post

    Why on earth is my html.kendo.dropdownlist showing the id of the field I've selected below the dropdown in a textbox.

     

     @(Html.Kendo().ComboBox()
                    .HtmlAttributes(new { style = "width:250px;" })
                    .Name("categories")
                    .Placeholder("Select category...")
                    .DataTextField("CategoryName")
                    .DataValueField("CategoryId")
                    .DataSource(source => {
                        source.Read(read => {
                            read.Action("GetCascadeIndustries", "Home");
                        });
                    })
                )

    I get the dropdown
    [             >]
    [              ] - and the field below it.

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 31 Jul 2012 Link to this post

    Hello Zunaid,

     
    This is not a known issue. I have tested the examples locally and everything was fine. Could you please send us a simple test project, which replicates the issue?

    Regards,
    Georgi Krustev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top