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

Javascript error in kendo.aspnetmvc.min.js

5 Answers 928 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 13 Jul 2012, 06:04 PM
This is my new Error: Microsoft JScript runtime error: Object doesn't support property or method 'kendoGrid'.

Here is what my grid looks like

@(Html.Kendo().Grid(Model)
        .Name("CodeManager")   
    .Columns(columns =>
    {       
        columns.Bound(p => p.CodeID);
        columns.Bound(p => p.Status);       
    })   
    .DataSource(dataSource => dataSource       
        .Ajax()        
        .Read(read => read.Action("_Filtering", "CodeManager", new { classifications = @ViewBag.SelectedCatgory }))
    )
)


Thanks
Dennis

5 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 16 Jul 2012, 08:54 AM
Hello Dennis,

Please make sure all required Javascript files are registered on the page and there is only one jQuery instance. If you need further assistance, please open a support ticket and attach a runnable demo there.

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!
0
Rick
Top achievements
Rank 2
answered on 06 Aug 2012, 06:32 AM
I am having this same error. Please see my post (with a sample project) here.
0
Nikolay Rusev
Telerik team
answered on 06 Aug 2012, 06:56 AM
Hello Rick,

Your app does not include kendo styles and scripts at all. Use the instructions provided in this thread by my colleague Dimo.

All the best,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dennis
Top achievements
Rank 1
answered on 06 Aug 2012, 03:42 PM
I have also noticed that the order in how your javascript files are referenced matters. If you need an example please let me know.

Thanks
Dennis
0
Saurabh
Top achievements
Rank 1
answered on 04 Nov 2012, 12:00 PM
Hi 
facing same problem 
let me know in which manner i need to add the .js files 

here is my code :

<script src="~/Scripts/jquery.min.js"></script>
         <script src="~/Scripts/kendo.all.min.js"></script>
        <script src="~/Scripts/jquery-1.7.1.min.js"></script>
        <script src="~/Scripts/kendo.web.min.js"></script>
        <script src="~/Scripts/kendo.core.min.js"></script>
        <script src="~/Scripts/kendo.data.min.js"></script>
        <script src="~/Scripts/kendo.grid.min.js"></script>
 <script src="~/Scripts/kendo.aspnetmvc.min.js"></script>

Tags
General Discussions
Asked by
Dennis
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Rick
Top achievements
Rank 2
Nikolay Rusev
Telerik team
Dennis
Top achievements
Rank 1
Saurabh
Top achievements
Rank 1
Share this question
or