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

Error With Proxy / My Master Page - links to ="http://aspnet-scripts.telerikstatic.com/ajaxz and i dont want any external reference.

2 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CEFRA
Top achievements
Rank 1
CEFRA asked on 10 Feb 2012, 05:10 PM
Hi Team we have developed a ASP.NET intranet application which uses the master page layout.

We use few telerick controls in our page.
but after page loads when I look the View Source Code, I am surprised to see all following external links.
Since our application is intranet and more secure application, we don't want to make external http calls. How can avoid this?
Because of the external references, does it hit the performance (i.e page load duration?).

i see that this is for have enable the Telerik CDN but my question is how i cant remove this ?
how disable Telerik CDN and then how to disable this links

<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Core.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/FormDecorator/RadFormDecorator.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Popup/PopupScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/jQuery.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/jQueryPlugins.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Animation/AnimationScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Window/RadWindowScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Window/RadWindowManager.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Scrolling/ScrollingScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Navigation/NavigationScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Menu/RadMenuScripts.js" type="text/javascript"></script>
<script type="text/javascript">

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 15 Feb 2012, 09:43 AM
Hi,

By default RadControls for ASP.NET AJAX load their scripts from the Telerik.Web.UI.dll, but not from CDN. The CDN should be enabled by the developer as explained in the following help article:
CDN Overview.

You should examine the declaration of the RadScriptManager and sets its TelerikCdn property to Disabled, e.g.

<telerik:RadScriptManager      ID="RadScriptManager1"  runat="server">
     <CdnSettings TelerikCdn="Disabled" />
</telerik:RadScriptManager>


If the CDN is enabled in the web.config file, set

<appSettings>   
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />   
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
</appSettings>


Greetings,
Rumen
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
CEFRA
Top achievements
Rank 1
answered on 15 Feb 2012, 10:59 PM
Hi Rumen, cool that works for me.
thank you very much for the help, actually was enabled in the web.config
Tags
General Discussions
Asked by
CEFRA
Top achievements
Rank 1
Answers by
Rumen
Telerik team
CEFRA
Top achievements
Rank 1
Share this question
or