'Object has no method' Error

5 posts, 0 answers
  1. Greg
    Greg avatar
    11 posts
    Member since:
    Mar 2012

    Posted 08 Mar 2012 Link to this post

    Hi Everyone,

    I just started using Kendo, and got a Grid and Menu set up OK, but when I try to use the ListView, I get the following error:

    Object [object Object] has no method 'kendoListView'

    The error occurs when the .js is first executing, so I'm not really doing anything yet, so I'm confused as to why this might be occuring.
    Maybe there is something wrong in the build I have??
    I'm new to this, so I'm not sure what else would be helpful to provide.
    Thanks!

    Code:
    $("#listView").kendoListView({
     template: "<li>${FirstName}</li>",
     dataSource: {
     data: [
     {
     FirstName: "Joe",
     LastName: "Smith"
     },
     {
     FirstName: "Jane",
     LastName: "Smith"
     }]
     }
    });

    Trace:
    Uncaught TypeError: Object [object Object] has no method 'kendoListView'
    beginApp             app.js:69
    $.ajax.success                                       IBE.js:170
    jQuery.Callbacks.fire jquery.js:1049
    jQuery.Callbacks.self.fireWith jquery.js:1167
    done jquery.js:7408
    jQuery.ajaxTransport.send.callback jquery.js:8192

    OS: Windows 7
    Browser: Chrome 17.0.963.78 m
    Kendo UI v2011.3.1129 
    jQuery JavaScript Library v1.7.1 
  2. Yuan
    Yuan avatar
    9 posts
    Member since:
    Feb 2012

    Posted 25 Mar 2012 Link to this post

    I got the same problem.
  3. Kendo UI is VS 2017 Ready
  4. Greg
    Greg avatar
    11 posts
    Member since:
    Mar 2012

    Posted 26 Mar 2012 Link to this post

    The ListView object was not in the version I was on(2011.3). If you get the most recent set of code, you won't get the error. I think they just brought it out of beta last week.
  5. DINHDUY
    DINHDUY avatar
    1 posts
    Member since:
    Jul 2012

    Posted 29 Mar 2012 Link to this post

    I am getting same error with Kendo UI Complete v2012.1.322.
  6. Dathan
    Dathan avatar
    4 posts
    Member since:
    Nov 2007

    Posted 08 Oct 2012 Link to this post

    I have the same error. Please help.
Back to Top
Kendo UI is VS 2017 Ready