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

RadScriptManager combining scripts and the new VS2008 SP1 ScriptManger combining scripts

2 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 27 Aug 2008, 11:12 PM
Hi

I am using Telerik controls 2008 Q2. (Will get Q2 SP1 in a few days)

We currently use a Telerik RadScriptManager to take advantage of combining Telerik scripts and this has always worked nicely.

However the new VS2008 SP1 now has a feature for combining scripts as well that don't require resource assemblies. We want to use this as we also have custom scripts that we want to combine.

Basically I want all the Telerik scripts and our custom scripts to be combined into 1 request. I don't want 1 request for Telerik scripts and another request for my scripts.

What would be the best approach?

Should I disable the RadScriptManager so that it doesn't automatically combine Telerik scripts, and then use the enhanced VS2008 SP1 ScriptManager to combine my scripts along with Telerik instead?

Any advice is appreciated.


Kind regards

Mark Eaton

2 Answers, 1 is accepted

Sort by
0
Accepted
Erjan Gavalji
Telerik team
answered on 03 Sep 2008, 02:31 PM
Hi Mark,

Indeed, as RadScriptManager does not provide combination of path-based scripts, the best approach for having a single script reference becomes declaring the Telerik.Web.UI scripts to the <CompositeScript> tag. We will do our best to have path-based scripts included to RadScriptManager for the RadControls for ASP.NET Ajax Q3 release, or one of its subsequent ones, but to my regret I cannot give an exact estimate now.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
lchesnais
Top achievements
Rank 1
answered on 26 Sep 2008, 04:00 PM
Hello,

It seems that someone found a way to use Telerik scripts with ScriptManager.CompositeScript here.
I just give think link as a reference since I didn't test the solution.
I'll wait for Q3 release of RadScriptManager.

BR, Laurent
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
lchesnais
Top achievements
Rank 1
Share this question
or