Hi!
we have multiple radcontrols on on our pages and the list of .js files requested is accordingly long. As we have a RadScriptManager on every page, I'd expect there to be only ONE combined request - but that's not the case. Our pages still request between 10 - 20 individual scripts on every load (such as RadButton.js). We load many of the controls dynamically - can that be an issue? Am I missing something here? Is any additional configuration required?
This is part of our <handlers> section (running IIS7 in integrated mode):
This is our RadSrciptManager:
I tried adding scripts individually to the RadScriptManager like so:
which results in this error:
Thanks for any help!
we have multiple radcontrols on on our pages and the list of .js files requested is accordingly long. As we have a RadScriptManager on every page, I'd expect there to be only ONE combined request - but that's not the case. Our pages still request between 10 - 20 individual scripts on every load (such as RadButton.js). We load many of the controls dynamically - can that be an issue? Am I missing something here? Is any additional configuration required?
This is part of our <handlers> section (running IIS7 in integrated mode):
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
/>
This is our RadSrciptManager:
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
EnableScriptCombine
=
"true"
>
</
telerik:RadScriptManager
>
I tried adding scripts individually to the RadScriptManager like so:
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Grid.RadGrid.js"
/>
</
Scripts
>
which results in this error:
The Assembly "Telerik.Web.UI, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" does not contain a Webressource with the name "Telerik.Web.UI.Grid.RadGrid.js".
Thanks for any help!