We've couple of aspx pages with different Telerik controls including radwindow pop-ups.
We're using RADScriptManager to combine scripts.
From the Client Fiddler trace we're getting multiple requests for Telerik.Web.UI.WebResource.axd?_TSM_HiddenField...
To be exact we're getting about 10 requests.
Inspecting the returned *axd bits shows multiple downloads for common.core.js and other telerik scripts.
Question:
1. How can we combine all the *.axd request into a single request?
2. Why Telerik is not caching script files already downloading using a previous *.axd request?
Thanks for you Help.
Thanks,
Varadhg
14 Answers, 1 is accepted
The .axd files are the controls' resources - the CSS and Javascript files. Browsers automatically cache those files after downloading them the first time.
I suggest you also use RadStyleSheetManager in order to combine the css files.
All the best,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

We're looking to reduce the first time round-trips by combining all axd's...
Let me know if you guys fig a way to do it...
Also for the 2nd issue, why telerik re-includes some scripts (like core.js) on few of these axd's?
Update : We had big meeting today regarding these multiple *.axd, it seems much worse since each page flow
downloads its own sets of *.axd probably due to different site url ref etc..
Question: Is there a way we can collect all the telerik's internal javascripts and do our own combine/ compress..?
Would be a big help in our performance issues..
Thanks,
varadhg
RadScriptManager automatically merges the Javascript files required by the Controls found on the page and serves them combined through a single .axd. This means that if you have a page with RadMenu and RadTreeView, the Manager will combine into, let's call it, MenuTreeView.axd and the browser will load it and cache it. If you browse to another page that uses RadMenu and RadGrid, the Manager will server a different .axd e.g. MenuGrid.axd.
You can force the RadScriptManager to always load and combine specific scripts and if you desire so, you can always load all scripts needed by all controls that you use, even if these controls are not present on the current page. While this results in a single large .axd file, the benefit is that you will always load a single .axd file (e.g. MenuTreeViewGrid.axd in the above example) and this .axd will be loaded from the browser's cache after the first load.
To do this, you can use the <Scripts> collection of RadScriptManager. For example, to include RadMenu's scripts:
<
telerik:RadScriptManager
runat
=
"server"
EnableScriptCombine
=
"false"
ID
=
"RadScriptManager1"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryPlugins.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Navigation.NavigationScripts.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Menu.RadMenuScripts.js"
/>
</
Scripts
>
</
telerik:RadScriptManager
>
You can find the paths for all of the Telerik controls in this article.
I hope this helps.
Greetings,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Cool Thanks, this is almost what we're looking for, let me try and will let you know..
Thanks,
varadhg

i've added EnableScriptCombine="false" in RadScriptManager --> Site works with individual scripts download.
Next, Added the following in the RadScriptManager
<Scripts>
<asp:ScriptReference Path="~/RadControls/Script/Core.js" />
</Scripts>
At this point, getting exception --> Telerik.Web.UI.Orientation has already been registered,
I can see other *.axd calls and one of them has all the core.js scripts !! so when core.js gets downloaded it throws excetpion.
Tried remove the telerik httphandler for axd, but on run time RadManager throws exception "web.conifg" entry is missing
So Question is: How to prevent all those *.axd calls?
Thanks,
Gopi

We need to set true --> EnableScriptCombine="true" and use the specific js files from assembly as in your example.
Thanks a lot for the pointers.
Thanks,
varadhg

Big Thanks.
Finally we're able to combine all telerik scripts into one compressed download and it works for all the pages... :)
One last bit of squeeze! we get one more addtional download from telerik and the content is below:
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
(function() {var fn = function() {if(!$get('ctl00_oo_HiddenField')) return; $get('ctl00_oo_HiddenField').value += ';';Sys.Application.remove_load(fn);};Sys.Application.add_load(fn);})();
Anyways to prevent this or add this script manually?
Thanks,
varadhg
Are you using the latest version (Q1 2010 SP2) of the RadControls suite? If not, can you please try updating to the latest version and check if this resolves the issue?
All the best,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Thanks,
Varadhg

Hi,
Can you let me know any performance and/or browser compatibility issues that has been addressed in the 2010 Q1 version?
We have a 200 rows editable Telerik Gird that performance is worst (1 min 10sec) to load in IE6 sp3, and ie7 it is 50 sec
In firefox it loads in just 10 secs!?
Any solid data would help us convince mgt to move to 2010 Q1.
Thanks,
Gopi
The general performance of RadGrid for ASP.NET AJAX can depend on the actual configuration you use - whether you display many records at once without paging enabled, do you have large number of other RadControls in the grid rows like RadInputs, RadComboBoxes, RadDatePickers, etc.
To optimize the loading time of the grid as much as possible, I suggest you examine the tips available under the "Performance" sections of the online demo and documentation:
http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grdviewstatereductiontechniques.html
as well as watch the webinar series about RadGrid optimizations:
http://tv.telerik.com/search?q=optimizing+RadGrid
Kind regards,
Sebastian
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

What we're sepcifically looking for is two things:
1. Chageset fixed issues since Version=2009.2.826.35
2. Any list specific performance features added or improvements made.
3. Also let me know if the current version is back-ward compatible with our version --> Version=2009.2.826.35
For e-x we just found, for a multi-select RadGrid (Checkbox in the header), when we select all records using header check-box
and specifically un-select any row(s), the Header check-box is not un-select in our 2009 version, but it is fixed in your demo page.
So we need such fixed issue list + perf improved list..
Can you please provide any pointers?
Thanks,
varadhg
The new features, enhancements, bugfixes and changes introduces subsequent versions of our ASP.NET AJAX suite are outlined in the resources below:
http://www.telerik.com/products/aspnet-ajax/whats-new/release-history.aspx
http://www.telerik.com/help/aspnet-ajax/radcontrols-changes-backwards-compatibility.html (See the individual topic for RadGrid as well)
Performance improvement techniques are discussed in the support materials from the my previous message.
Best regards,
Sebastian
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

I also have similar issue. Can you post an example as shown below for all ASP.Net AJAX controls or
send an documenation link?
<telerik:RadScriptManager runat="server" EnableScriptCombine="false" ID="RadScriptManager1">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryPlugins.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Navigation.NavigationScripts.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Menu.RadMenuScripts.js" />
</Scripts>
</telerik:RadScriptManager>