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

Problem with RadScriptManager and CdnSettings with CombinedResource

0 Answers 29 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
René
Top achievements
Rank 2
René asked on 22 Jul 2016, 11:30 AM

Hi,

We are using Telerik 2016.2.607 and Asp.Net in 4.5.1.

I have set this in master page:


<telerik:RadScriptManager runat="server" ID="rsm" EnableCdn="True" EnableScriptCombine="True">
    <CdnSettings TelerikCdn="Enabled" CombinedResource="Enabled" />
</telerik:RadScriptManager>
 
<telerik:RadStyleSheetManager runat="server" ID="rssm" EnableStyleSheetCombine="True">
    <CdnSettings TelerikCdn="Enabled" CombinedResource="Enabled"/>
</telerik:RadStyleSheetManager>

 

But our IS starts to throw error:

Unhandled exception at line 730, column 49 in http://ajax.aspnetcdn.com/ajax/4.6/1/MicrosoftAjax.debug.js
0x800a139e - JavaScript runtime error: Sys.ArgumentTypeException: Object of type 'Telerik.Web.UI.RadAjaxManager' cannot be converted to type ''.
Parameter name: instance

On other pages no error appears but postbacks doesn't work, so some JavaScripts simply doesn't work.

 

Setting ScriptManager to

<telerik:RadScriptManager runat="server" ID="rsm" EnableCdn="True" EnableScriptCombine="True">
 <CdnSettings TelerikCdn="Enabled" CombinedResource="Disabled" />
</telerik:RadScriptManager>

fixes this, but I want to combine files.

Is there any way how to check what is wrong?

 

No answers yet. Maybe you can help?

Tags
ScriptManager and StyleSheetManager
Asked by
René
Top achievements
Rank 2
Share this question
or