Problem with RadScriptManager and CdnSettings with CombinedResource

1 posts, 0 answers
  1. Raptor
    Raptor avatar
    19 posts
    Member since:
    Aug 2011

    Posted 22 Jul Link to this post

    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?

     

Back to Top