Hi, i have on my webform a webtab und ultrawebgrid (V2010 Vol2 + sr)i have on the webgrid aprox. 80 rows (tested also with 1 row and 1000 rows) , when i show the page, it takes very long time to load the page. i tested it also with firefox plugin (yslow and page speed)and he says me that the amount of javascripts blame on the long loading time.
can i in any kind of art caching the scripts? because when i reload the page it takes the same time (slow) of loading.
HI Martin,
The browser caches all scripts, css and images after the first load of the control. I've tested a small sample with UltraWebGrid using Fiddler and the Net monitor of Firefox. So, once the page is loaded with the grid inside all scripts images and css have been cached and if I navigate to another page and get back to the page with the grid I observe that no more requests are being sent for scripts and other static resources.
All static resources are embedded as a Web Resources if you want you could specify whether the control to use them or scripts provided by you. If you navigate to installation folder of infragistics (ASP.NET ) you should see all scripts used by our components. and then copy them somewhere on you webserver and refer them by the following control's properties JavaScriptFileName and JavaScriptFileCommon.
Hope this helps.
on thing, when i look in yslow i can found many files they loading like http://localhost:49790/IntraNet/ScriptResource.axd?d=y8LQBxynQLksDGmA_D-LdnTELK40HG0zMJPJUReix79tRCIQ_Gbab2IRYjrKOgBIvfWcydEgBCEz2jyd6XOGZh11Z2iGgcgAkMUEvi5NScq4DsJBUAtax8Bp8kG7Tt78M1EwZOV70bXNqUXomj9xznICsDSGiCkTDA4K9egaUTLVp_m85AQOVoJGifZkDeck0&t=f05c3fe
where can i see which javascript files you did load. can i not load them in the global.asax?
Hi Radoslav, when i go step by step to the performance manual i have still no performance on the grid.>>Reducing the Amount of Data Sent to the Browser when i set off some properties i cannot select something on the grid, but the loading time is still long.when i test it with firefox an yslow it tells me it loads 28 javascript files with an amout of 1826.9K
why did i need so many javascript files ? (or better webgrid)is there any other speeding method? (like caching)
Hello Martin,
I would suggest take a look at the dedicated section about Performance of UltraWebGrid on the following link:
http://help.infragistics.com/NetAdvantage/ASPNET/2010.2?page=WebGrid_Performance.html