Grid Sample

8 posts, 1 answers
  1. Rhys
    Rhys avatar
    11 posts
    Member since:
    Oct 2007

    Posted 17 Aug 2011 Link to this post

    Hi,

    Trying to get the basic Grid sample to work.  Getting the following errors...

    SCRIPT5007: Object expected
    kendo.all.min.js, line 1 character 13464
    SCRIPT438: Object doesn't support property or method 'kendoGrid'
    index.html, line 19 character 2

    Here is my HTML - any help is appreciated as I'm sure it is a basic, newbie mistake.

    <html>
    <head>
        <title>Test Kendo</title>
        <!--In the header of your page, paste the following for Kendo styles-->
        <link href="../js/kendo.common.min.css" rel="stylesheet" type="text/css" />
        <link href="../js/kendo.kendo.min.css" rel="stylesheet" type="text/css" />
        <!--Then paste the following for Kendo scripts -->
        <script type="text/javascript" src="jquery-1.2.6.min.js"></script>
        <script type="text/javascript" src="js/kendo.all.min.js"></script>
    </head>
    <body>
        <div id="grid">
        </div>
        <script type="text/javascript">
            $("#grid").kendoGrid({ columns: [{ field: "FirstName", title: "First Name" }, { field: "LastName", title: "Last Name"}], dataSource: { data: [{ FirstName: "Joe", LastName: "Smith" }, { FirstName: "Jane", LastName: "Smith"}]} });
        </script>
    </body>
    </html>
     
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8479 posts

    Posted 18 Aug 2011 Link to this post

    Hi Rhys,

    You are using a very old jQuery version. Kendo UI has been developed together with jQuery 1.6.2. Please try with this version.

    Kind regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Jeremiah
    Jeremiah avatar
    3 posts
    Member since:
    May 2012

    Posted 12 Jun 2012 Link to this post

    I have the same issue although all my scripts are up to date. I have jquery.min.js (1.7.1) and kendo.all.min.js included in my _layout, but still getting issues.
  4. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 12 Jun 2012 Link to this post

    Hi:
    Have you ever gotten any extension methods to work?  Or is this the first?
    Phil
  5. Joshua
    Joshua avatar
    7 posts
    Member since:
    Oct 2011

    Posted 23 Jun 2012 Link to this post

    I have the same problem and I am using MVC4 with 1.6.2 jquery
    This is my first attempt
  6. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008
  7. Joshua
    Joshua avatar
    7 posts
    Member since:
    Oct 2011

    Posted 24 Jun 2012 Link to this post

    I got it to work.
    I was using it in the new MVC4 project template and I was able to get it into their new "bundles" class working just fine.

    Perhaps some instructions to others on how to integrate it into the MVC4 template.
  8. Jeremiah
    Jeremiah avatar
    3 posts
    Member since:
    May 2012

    Posted 25 Jun 2012 Link to this post

    I managed to get mine to work as well. At the time I had telerik extensions implemented as well and once I had removed them all the kendo extensions began to work.
Back to Top