New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Loading External jQuery Using RadScriptManager with Embedded Scripts in DLL
Updated on Nov 2, 2026
Environment
| Product | ScriptManager for UI for ASP.NET AJAX |
| Version | 2026.2.708 |
Description
I need to load an external jQuery version using RadScriptManager, where the jQuery file is embedded as a web resource in a DLL. The ExternaljQueryUrl property does not work for this scenario. The goal is to ensure compatibility between Telerik UI's embedded jQuery and Kendo UI's external jQuery, while avoiding conflicts or errors like jQuery is undefined.
This knowledge base article also answers the following questions:
- How to load jQuery as a web resource in RadScriptManager?
- How to avoid conflicts between Telerik UI and Kendo UI jQuery instances?
- Why does ExternaljQueryUrl not work with DLL-embedded jQuery?
Solution
To correctly load external jQuery as a web resource in RadScriptManager and maintain compatibility with Telerik UI and Kendo UI, follow these steps:
- Keep the internal jQuery enabled for Telerik UI by setting
EnableEmbeddedjQuery="true"in the RadScriptManager. - Add your custom external jQuery from the DLL as a script reference in the correct order.
- Ensure the scripts are loaded in this order:
- Internal jQuery (embedded by Telerik UI).
- External jQuery (from the DLL for Kendo UI).
- Kendo UI scripts.
- Custom JavaScript scripts.
Example RadScriptManager Configuration
ASP.NET
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<%-- MS AJAX is always loaded first --%>
<%-- Load your scripts in this exact order --%>
<%-- Script 1 --%>
<%-- Script 2 --%>
<%-- Script 3 --%>
<%-- etc. --%>
</Scripts>
</telerik:RadScriptManager>
Key Notes
- The
ExternaljQueryUrlproperty cannot reference a WebResource. It is intended for local or external file paths. - From the 2026 Q1 release, Telerik UI no longer relies on the global
window.jQueryinstance, which eliminates conflicts when using multiple jQuery versions. - If you encounter errors like
$telerik.$ is undefinedoronEvent is undefined, ensure that jQuery and the required dependencies are loaded in the correct order.