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

[Solved] Problem with RadScriptManager and script combining

1 Answer 107 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 19 Feb 2008, 09:29 PM
I've found a bug in the way the RadScriptManager script combining feature works. Here's the scenario:

We have scripts from two different assemblies (EvNet and CommunityBar). With script combining off, they come out in this order in the HTML:

EvNet:Globals.js
CommunityBar:Bar.js
EvNet:Foo.js
(a whole bunch more EvNet scripts)

With script combining on, the URL to the Telerik handler looks like this:
/<Telerik Handler Base URL>&::EvNet;<Globals.js Hash>:CommunityBar;<Bar.js Hash>;<Foo.js Hash>...

The result is an exception from the Telerik handler complaining that it couldn't find the script with <Foo.js Hash> hash in CommunityBar.dll which makes sense since that script is actually in EvNet.dll.

The logic that's building this URL can't handle the list not being sorted by assembly. While we can try and figure out a way on our end to ensure the list is properly sorted, to do so would be really tough (I know because I tried!). I can build some sample code to show you what I mean if that would help.

Let me know if you need anything else!

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 20 Feb 2008, 04:46 PM
Hi Michal,

Thanks for reporting this problem. Indeed, it is a bug on our side and we will do our best to fix it for the upcoming service pack, scheduled for the beginning of the next week.

Please, find your Telerik account updated.

Best regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Michal
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or