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

RadScriptManager not combining resource files

3 Answers 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cynthia
Top achievements
Rank 1
Cynthia asked on 19 Dec 2008, 02:53 PM
I have been trying to work with the Telerik controls.  I include the RadScriptManager at the top of every page and the page will run, but it is not combining the resource files.  I am using a tool to see the requests to the server and that is how I determined that the pages are not combining.

When I include the script I do it as shown here:

 <telerik:RadScriptManager ID="rscmScriptManager" runat="server"></telerik:RadScriptManager>

Then I add the reference to the Web.config file as shown here:

 

<

 

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

Please help me to figure out what I have done wrong.  I have searched quite a bit for articles online, with no success.

Regards,
Cynthia

 

 

 

 

 

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Dec 2008, 05:10 PM
Hi Cynthia,

Please find attached a simple website, which behaves as expected.

The ASPX page contains 4 different RadControls and a RadScriptManager. Apart from the Javascript files for the 4 rendered controls, RadScriptManager includes manually also 2 RadGrid Javascript files, which are otherwise not needed.

All these plus the ASP.NET AJAX client-side framework JS file are requested as a single Javascript file.

You will notice that one more Javascript file is served though. This file is related to the ASP.NET form and postback functionality and cannot be combined.

Let us know if you need more information.


Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Cynthia
Top achievements
Rank 1
answered on 24 Dec 2008, 04:06 PM
First of all thank you for replying to my post. 

I tried to run the files that you sent, but it seems we are using different versions of .NET, so I had to modify the web.config.  When I ran the page that you sent me I saw several WebResourse.axd files.  Is it that I don't understand what the script manager is supposed to do?  I thought that all of those files should have been combined into one.  How can I send you a screen shot of my results?

Thanks again,
Cynthia
0
Accepted
Dimo
Telerik team
answered on 24 Dec 2008, 04:43 PM
Hello Cynthia,

Please note that some of the WebResource.axd files that you are seeing as being requiested from the server are actually not javascript files, but CSS files and images. Is this what causes the confusion?

Attaching files to forum posts is disabled for non-admin users. If you need to send us a file, please open a new support ticket. You may attach files there.

Kind regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Cynthia
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Cynthia
Top achievements
Rank 1
Share this question
or