Kendo Drop Down: data is undefined

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

    Posted 07 Aug 2012 Link to this post

    Kendo DropDown Example

    I have a Kendo DropDownList inside of a kendo Panel inside of Form Tags. The problem is I can't select the Drop Downlist. I keep getting a "data undefined error" Data Undefined. The thing I'm not understanding the most is that I've used this code before on another page with the exact same structure and I can select the drop downs fine. Thanks
  2. Alexander Valchev
    Alexander Valchev avatar
    2894 posts

    Posted 10 Aug 2012 Link to this post

    Hello Kai,

    Thank you for providing the sample project as well as the screen shot.

    The problem is caused by the fact that the variable $ClientCountrySearch contains an identifier (#cboClientCountrySearch ), not a jQuery selected object and by a syntax mistake - right spelling is data.('kendoDropDownList').
    The following code will return the client drop down list object.

    All the best,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top