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

Issue bind Dropdownlist

1 Answer 30 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Partha
Top achievements
Rank 1
Partha asked on 06 May 2016, 10:17 AM

Hello,

I am using kendoUI for a site. I am using 

http://kendo.cdn.telerik.com/2016.1.226/js/kendo.all.min.js

https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js

and 

http://kendo.cdn.telerik.com/2016.1.226/styles/kendo.common.min.css

http://kendo.cdn.telerik.com/2016.1.226/styles/kendo.default.min.css

Code:

 $("#ddlCompany").kendoDropDownList({
                dataSource: eventFormDropDownDataSource.Items[0].Items,
                optionLabel: "Select Company",
                dataTextField: "TextField",
                dataValueField: "ValueField"
            });

I have checked that the data source have results. But when I clicking on the dropdown its showing none.

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 09 May 2016, 12:30 PM
Hello Partha,

In which format is the returned data?

Probably you will find helpful the following post:

http://www.telerik.com/forums/dropdownlist-not-populating-with-data-from-datasource

Regards,
Helen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Partha
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or