Won't Fix
Last Updated: 21 Sep 2016 13:04 by ADMIN
ADMIN
Vessy
Created on: 17 Sep 2016 12:24
Category: ScriptManager
Type: Bug Report
1
Scripts are not combined when CombinedResource is enabled in web.config
The scripts of the controls are not combined in a single request, when the web.config key Telerik.ScriptManager.TelerikCdn.CombinedResource has value Enabled:

Steps to reproduce
1. Ad the following configuration in the web config and open a page containing RadControl.

<appSettings>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled"/>
    <add key="Telerik.ScriptManager.TelerikCdn.CombinedResource" value="Enabled" />
  </appSettings>

Result: The scripts are not combined.


Workaround:

Enable the script combining in the ScriptManager declaration:

    <telerik:RadStyleSheetManager runat="server">
        <CdnSettings CombinedResource="Enabled" TelerikCdn="Enabled" />
    </telerik:RadStyleSheetManager>
1 comment
ADMIN
Vessy
Posted on: 21 Sep 2016 13:04
The problem is related to not properly documented key name, which is now updated. The correct keys are:
<appSettings>
<add key="Telerik.ScriptManager.TelerikCdn" value="Enabled"/>
<add key="Telerik.ScriptManager.TelerikCdn.CombinedScript" value="Enabled" />
</appSettings>