<commit_before>---
title: Disabling Embedded Resources
page_title: Disabling Embedded Resources | UI for ASP.NET AJAX Documentation
description: Disabling Embedded Resources
slug: introduction/radcontrols-for-asp.net-ajax-fundamentals/performance/disabling-embedded-resources
tags: disabling,embedded,resources
published: True
position: 1
---

# Disabling Embedded Resources



By default, JavaScript files needed by the Telerik UI for ASP.NET AJAX controls are served as web resources (embedded in the **Telerik.Web.UI.dll** assembly).

In some cases, you may want to avoid using WebResources, and you have two options to do that:

* Use the CDN providers Telerik offers out of the box:

	* [Scripts CDN]({%slug scriptmanager/cdn-support/overview%})

	* [Stylesheets CDN]({%slug stylesheetmanager/cdn-support/overview%})

* Disable the embedded scripts for the controls and add the script files as static __*.js__ files to your application, as described below.

>tip It is faster and easier to [create a custom CDN provider]({%slug scriptmanager/cdn-support/custom-cdn-provider%}). Doing so will still load the scripts from static files to allow better caching, yet no custom script references must be added in the ScriptManager, nor the EnableEmbeddedScripts property needs to be disabled for each control.

This article contains the following sections:

* [Disabling Embedded Scripts](#disabling-embedded-scripts)

* [Disabling Embedded Skins](#disabling-embedded-skins)

* [Disable Embedded Scripts/Skins for the Entire Web Site/Web Application Project](#disable-embedded-scripts/skins-for-the-entire-web-site/web-application-project)

## Disabling Embedded Scripts

For custom deployment scenarios you can specify an alternative location for JavaScript files. To do so you should set the **EnableEmbeddedScripts** property to ***false***. Then, the JavaScript files will not be loaded from the assembly.

You will also need to add a script reference for each JavaScript file through the ScriptManager or [RadScriptManager]({%slug scriptmanager/overview%}).

A complete list of the JavaScript files used by Telerik UI for ASP.NET AJAX can be found below. You need to register only the JavaScript files required by the controls you are currently using. Common JavaScript files (e.g. Core.js) should be registered only once.


````ASP.NET
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <Scripts>
        <asp:ScriptReference Path="~/Scripts/Common/Core.js" />
        <asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
        <asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
        <asp:ScriptReference Path="~/Scripts/Common/Navigation/NavigationScripts.js" />
        <asp:ScriptReference Path="~/Scripts/ListBox/RadListBoxScripts.js" />
        <asp:ScriptReference Path="~/Scripts/Common/TouchScrollExtender.js" />
    </Scripts>
</telerik:RadScriptManager>
<telerik:RadListBox enableembeddedscripts="false" id="RadListBox1" runat="server"></telerik:RadListBox>
````

All JavaScript files are available in the distribution (EXE, ZIP and hotfix) of controls' "Scripts" folder.

>caution Note that the order of the js files registered for most of Telerik controls is important since there are some dependencies between the javascript files of a single control. Therefore it is recommended to follow the exact order of the script references from the table below.
>


* **RadAjaxLoadingPanel**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
	<asp:ScriptReference Path="~/Scripts/Ajax/Ajax.js" />
</scripts>
````

* **RadAjaxManager** 

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Ajax/Ajax.js" />
</scripts>
````

* **RadAjaxPanel**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Ajax/Ajax.js" />
</scripts>
````

* **RadAsyncUpload**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Upload/RadProgressManager.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
	<asp:ScriptReference Path="~/Scripts/Upload/RadUpload.js" />
	<asp:ScriptReference Path="~/Scripts/AsyncUpload/RadAsyncUpload.js" />
	<asp:ScriptReference Path="~/Scripts/Common/Popup/PopupScripts.js" />
	<asp:ScriptReference Path="~/Scripts/Upload/RadProgressArea.js" />
</scripts>
````

* **RadAutoCompleteBox**

````ASP.NET
<scripts>
   <asp:ScriptReference Path="~/Scripts/Common/Core.js" />
   <asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
   <asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
   <asp:ScriptReference Path="~/Scripts/Common/Navigation/NavigationScripts.js" />
   <asp:ScriptReference Path="~/Scripts/AutoCompleteBox/RadAutoCompleteBoxScripts.js" />
</scripts>
````

* **RadBarcode**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Barcode/RadBarcode.js " />
</scripts>
````

* **RadButton**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js"  />
	<asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js"  />
	<asp:ScriptReference Path="~/Scripts/Button/RadButtonScripts.js" />
</scripts>
````

* **RadCalendar**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
	<asp:ScriptReference Path="~/Scripts/Calendar/RadCalendarCommonScript.js" />
	<asp:ScriptReference Path="~/Scripts/Calendar/RadCalendarScript.js" />
</scripts>
````

* **RadCaptcha**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Captcha/RadCaptcha.js" />
</scripts>
````

* **RadColorPicker**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js"  />
	<asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js"  />
	<asp:ScriptReference Path="~/Scripts/Common/Popup/PopupScripts.js"  />
	<asp:ScriptReference Path="~/Scripts/ColorPicker/RadColorPicker.js"  />
</scripts>
````<commit_msg>Disabling Embedded Resources added RadClientExportManager required js files<commit_after>---
title: Disabling Embedded Resources
page_title: Disabling Embedded Resources | UI for ASP.NET AJAX Documentation
description: Disabling Embedded Resources
slug: introduction/radcontrols-for-asp.net-ajax-fundamentals/performance/disabling-embedded-resources
tags: disabling,embedded,resources
published: True
position: 1
---

# Disabling Embedded Resources



By default, JavaScript files needed by the Telerik UI for ASP.NET AJAX controls are served as web resources (embedded in the **Telerik.Web.UI.dll** assembly).

In some cases, you may want to avoid using WebResources, and you have two options to do that:

* Use the CDN providers Telerik offers out of the box:

	* [Scripts CDN]({%slug scriptmanager/cdn-support/overview%})

	* [Stylesheets CDN]({%slug stylesheetmanager/cdn-support/overview%})

* Disable the embedded scripts for the controls and add the script files as static __*.js__ files to your application, as described below.

>tip It is faster and easier to [create a custom CDN provider]({%slug scriptmanager/cdn-support/custom-cdn-provider%}). Doing so will still load the scripts from static files to allow better caching, yet no custom script references must be added in the ScriptManager, nor the EnableEmbeddedScripts property needs to be disabled for each control.

This article contains the following sections:

* [Disabling Embedded Scripts](#disabling-embedded-scripts)

* [Disabling Embedded Skins](#disabling-embedded-skins)

* [Disable Embedded Scripts/Skins for the Entire Web Site/Web Application Project](#disable-embedded-scripts/skins-for-the-entire-web-site/web-application-project)

## Disabling Embedded Scripts

For custom deployment scenarios you can specify an alternative location for JavaScript files. To do so you should set the **EnableEmbeddedScripts** property to ***false***. Then, the JavaScript files will not be loaded from the assembly.

You will also need to add a script reference for each JavaScript file through the ScriptManager or [RadScriptManager]({%slug scriptmanager/overview%}).

A complete list of the JavaScript files used by Telerik UI for ASP.NET AJAX can be found below. You need to register only the JavaScript files required by the controls you are currently using. Common JavaScript files (e.g. Core.js) should be registered only once.


````ASP.NET
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <Scripts>
        <asp:ScriptReference Path="~/Scripts/Common/Core.js" />
        <asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
        <asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
        <asp:ScriptReference Path="~/Scripts/Common/Navigation/NavigationScripts.js" />
        <asp:ScriptReference Path="~/Scripts/ListBox/RadListBoxScripts.js" />
        <asp:ScriptReference Path="~/Scripts/Common/TouchScrollExtender.js" />
    </Scripts>
</telerik:RadScriptManager>
<telerik:RadListBox enableembeddedscripts="false" id="RadListBox1" runat="server"></telerik:RadListBox>
````

All JavaScript files are available in the distribution (EXE, ZIP and hotfix) of controls' "Scripts" folder.

>caution Note that the order of the js files registered for most of Telerik controls is important since there are some dependencies between the javascript files of a single control. Therefore it is recommended to follow the exact order of the script references from the table below.
>


* **RadAjaxLoadingPanel**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
	<asp:ScriptReference Path="~/Scripts/Ajax/Ajax.js" />
</scripts>
````

* **RadAjaxManager** 

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Ajax/Ajax.js" />
</scripts>
````

* **RadAjaxPanel**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Ajax/Ajax.js" />
</scripts>
````

* **RadAsyncUpload**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Upload/RadProgressManager.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
	<asp:ScriptReference Path="~/Scripts/Upload/RadUpload.js" />
	<asp:ScriptReference Path="~/Scripts/AsyncUpload/RadAsyncUpload.js" />
	<asp:ScriptReference Path="~/Scripts/Common/Popup/PopupScripts.js" />
	<asp:ScriptReference Path="~/Scripts/Upload/RadProgressArea.js" />
</scripts>
````

* **RadAutoCompleteBox**

````ASP.NET
<scripts>
   <asp:ScriptReference Path="~/Scripts/Common/Core.js" />
   <asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
   <asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
   <asp:ScriptReference Path="~/Scripts/Common/Navigation/NavigationScripts.js" />
   <asp:ScriptReference Path="~/Scripts/AutoCompleteBox/RadAutoCompleteBoxScripts.js" />
</scripts>
````

* **RadBarcode**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Barcode/RadBarcode.js " />
</scripts>
````

* **RadButton**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js"  />
	<asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js"  />
	<asp:ScriptReference Path="~/Scripts/Button/RadButtonScripts.js" />
</scripts>
````

* **RadCalendar**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
	<asp:ScriptReference Path="~/Scripts/Calendar/RadCalendarCommonScript.js" />
	<asp:ScriptReference Path="~/Scripts/Calendar/RadCalendarScript.js" />
</scripts>
````

* **RadCaptcha**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Captcha/RadCaptcha.js" />
</scripts>
````

* **RadClientExportManager**

````ASP.NET
<scripts>
    <asp:ScriptReference Path="~/Scripts/Common/Core.js" />
    <asp:ScriptReference Path="~/Scripts/Common/jQuery.js" />
    <asp:ScriptReference Path="~/Scripts/Common/jQueryInclude.js" />
    <asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js" />
    <asp:ScriptReference Path="~/Scripts/Common/HTML5UI/html5/core.js" />
    <asp:ScriptReference Path="~/Scripts/Common/HTML5UI/html5/color.js" />
    <asp:ScriptReference Path="~/Scripts/Common/HTML5UI/html5/pdf.js" />
    <asp:ScriptReference Path="~/Scripts/Common/HTML5UI/html5/drawing.js" />
    <asp:ScriptReference Path="~/Scripts/ClientExportManager/RadClientExportManagerScripts.js" />
</scripts>
````

* **RadColorPicker**

````ASP.NET
<scripts>
	<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
	<asp:ScriptReference Path="~/Scripts/Common/jQuery.js"  />
	<asp:ScriptReference Path="~/Scripts/Common/jQueryPlugins.js"  />
	<asp:ScriptReference Path="~/Scripts/Common/Popup/PopupScripts.js"  />
	<asp:ScriptReference Path="~/Scripts/ColorPicker/RadColorPicker.js"  />
</scripts>
````
{'fraction_non_alphanumeric': 0.146260017809439, 'fraction_numerical': 0.0010388839418224993, 'mean_word_length': 5.233580018501388, 'pattern_counts': {'":': 0, '<': 150, '<?xml version=': 0, '>': 156, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5043326', 'n_tokens_mistral': 4358, 'n_tokens_neox': 4125, 'n_words': 985}