Issue bind Dropdownlist

2 posts, 0 answers
  1. Partha
    Partha avatar
    1 posts
    Member since:
    Mar 2014

    Posted 06 May Link to this post

    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.

  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 09 May Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top