This is a migrated thread and some comments may be shown as answers.

html.kendo.dropdownlist

1 Answer 191 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Zunaid
Top achievements
Rank 1
Zunaid asked on 28 Jul 2012, 08:40 PM
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.

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 31 Jul 2012, 06:56 AM
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!
Tags
ComboBox
Asked by
Zunaid
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or