I'm having a performance problem with a page that has a grid. When I include the scripts the page takes 5~7 seconds to load, and without the scripts it only takes .5 seconds. The scripts are coming from the client cache so its not a download issue. I've tried IE9 and Chrome and they both have the same result. Any ideas?
"~/Scripts/kendo/2012.2.710/kendo.core.min.js",
"~/Scripts/kendo/2012.2.710/kendo.web.min.js",
"~/Scripts/kendo/2012.2.710/kendo.data.min.js",
"~/Scripts/kendo/2012.2.710/kendo.data.odata.min.js",
"~/Scripts/kendo/2012.2.710/kendo.grid.min.js"
10 Answers, 1 is accepted
0
Hi Tyler,
Atanas Korchev
the Telerik team
You can try checking the network tab in your chrome developer toolbar to see what takes the most time to load. Also check your page for any JavaScript errors.
On a side note you don't need to include either kendo.web.min.js or all the other files. The former includes all JavaScript files in Kendo UI Web. More info can be found here.
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Tyler
Top achievements
Rank 1
answered on 02 Aug 2012, 01:43 AM
I don't see any js errors. This is an MVC4 project and when I saved the page output as HTML and loaded it that way it was fast, do you know of any issues with MVC4 and Kendo ?
Are you saying that I only need kendo.core.min.js ? When I tried only including that file I got errors.
Are you saying that I only need kendo.core.min.js ? When I tried only including that file I got errors.
0
Hello Tyler,
Atanas Korchev
the Telerik team
There are no known issues with MVC4. No, I am not saying that you only need kendo.core.js. You don't need to include kendo.web.min.js and the other kendo* files. kendo.web.min.js includes all JavaScript files in Kendo UI Web. More info can be found here.
Kind regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Tyler
Top achievements
Rank 1
answered on 02 Aug 2012, 05:49 PM
What is the difference between kendo.all.min.js and kendo.web.min.js?
Those are both big files, which js files do I need if I only want a grid on a page?
Those are both big files, which js files do I need if I only want a grid on a page?
0

Vijay
Top achievements
Rank 1
answered on 03 Aug 2012, 02:24 AM
Hello
I am having the same problem.
As your suggestion to check the network tab , it is the Grid that takes about 7sec to load.
If you have resolved the issue could you please provide me the solution.
Thanks
Vijay Parmar
I am having the same problem.
As your suggestion to check the network tab , it is the Grid that takes about 7sec to load.
If you have resolved the issue could you please provide me the solution.
Thanks
Vijay Parmar
0

Vijay
Top achievements
Rank 1
answered on 03 Aug 2012, 04:38 AM
Don't worry I found the solution !!!!
Thanks.
Thanks.
0

Tyler
Top achievements
Rank 1
answered on 03 Aug 2012, 05:20 PM
Vijay, can you share what fixed the problem for you ?
0

Vijay
Top achievements
Rank 1
answered on 05 Aug 2012, 11:58 PM
Hi Tyler,
I don't know how did it fix the problem. If you have configurered the BundleConfig.cs file with Kendo Jquery files just don't give reference to those files in Layout.cshtml or in View files, just keep "@Scripts.Render("~/bundles/jquery")" line in Layout.cshtml.
I don't know how did it fix the problem. If you have configurered the BundleConfig.cs file with Kendo Jquery files just don't give reference to those files in Layout.cshtml or in View files, just keep "@Scripts.Render("~/bundles/jquery")" line in Layout.cshtml.
0

Jason
Top achievements
Rank 1
answered on 20 Aug 2012, 09:27 PM
This was a problem for me too, I was using BundleConfig with MVC 4.0 to load scripts and my pages were taking over 4 seconds to load. I add the script reference directly in my layout and page performance was back to normal < 0.5 secs.
Don't use @Scripts.Render("~/bundles/kendo") in your layout pages, use
<script src="/content/js/libs/jquery.min.js" type="text/javascript"></script>
<script src="/content/js/libs/kendo.web.min.js" type="text/javascript"></script>
Maybe something to raise with the .NET MVC team?
Don't use @Scripts.Render("~/bundles/kendo") in your layout pages, use
<script src="/content/js/libs/jquery.min.js" type="text/javascript"></script>
<script src="/content/js/libs/kendo.web.min.js" type="text/javascript"></script>
Maybe something to raise with the .NET MVC team?
0

simmy
Top achievements
Rank 1
answered on 10 Aug 2015, 03:58 PM
Hi, I am having the same issue. Though, I have always just has them 2 scripts jquery.min.js and kendo.web.js. I am trying to display around 5000 records and have implemented client side paging. The query itself is instant BUT whenever it tries to load the data into a grid the initial load takes really long. Is there a way around this?