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

Combining JavaScripts using RadScriptManager

2 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sabby
Top achievements
Rank 1
Sabby asked on 26 Aug 2010, 12:18 AM
Hi,
I am using RadScriptManager for combining my RadScriptControls's javascript and bunch of external javascript files.
It is working pretty fine.
But the issue is that i want that it should combine RadControl's files in one file and other external javascripts into another.
I want this because of the caching issue to enhance the performance stuff.
Is there any way, that RadScriptManager spit out two .js files ?

Thanks,

2 Answers, 1 is accepted

Sort by
0
Vinkel
Top achievements
Rank 1
answered on 26 Aug 2010, 09:10 AM
I think Telerik script manager combine the js files from the Telerik assembly only (help article says so), external javascript should not be in. Use Firebug console to see whether this is correct.

-J
0
Sabby
Top achievements
Rank 1
answered on 26 Aug 2010, 09:20 AM
No, we can combine other JavaScript files aswell using the
 <CompositeScript>
<Scripts>{Refereces}</Scripts>
</CompositeScript>
tag to the RadControls combined javascript script resource by simply putting the reference to the external .js files  files inside it
Tags
General Discussions
Asked by
Sabby
Top achievements
Rank 1
Answers by
Vinkel
Top achievements
Rank 1
Sabby
Top achievements
Rank 1
Share this question
or