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

[Solved] Scripts download optimizations

3 Answers 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
B B
Top achievements
Rank 1
B B asked on 10 Jul 2009, 12:25 PM
Hi,

Is there a way to centralize Telerik (and ASP.NET Ajax) scripts (like in aspnet_client directory) ?

We got multiple applications using Telerik, and we'd like to avoid downloading script when starting an application.
If a client already downloaded/cached the scripts with application A, why does it have to download them again with application B ? (both application uses the same Telerik version)

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 10 Jul 2009, 12:39 PM
Hi B B,

You can do this if you disable the embedded javascript files. The required steps are outlined in this help article.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
B B
Top achievements
Rank 1
answered on 10 Jul 2009, 01:41 PM
Thanks !

Do you know if Microsoft has a equivalent solution for their Ajax scripts ?


- Bruno
0
B B
Top achievements
Rank 1
answered on 18 Sep 2009, 08:40 AM
Hi,

I found another solution using the ScriptPath property of the ScripManager class :

<asp:ScriptManager ID="ScriptManager" runat="server" ScriptPath="/aspnet_client/system_web/2_0_50727"/>

It works very well with Microsoft AJAX 1.0 scripts.
With Telerik, I had to rename the scripts, for example : Ajax/Ajax.js -> Telerik.Web.UI.Ajax.Ajax.js

(Telerik version : 2008.2.826.20)
- Bruno
Tags
General Discussions
Asked by
B B
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
B B
Top achievements
Rank 1
Share this question
or