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

Absolute path to WebResource.asx

1 Answer 86 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Patrice Boissonneault
Top achievements
Rank 1
Patrice Boissonneault asked on 23 Mar 2011, 12:34 AM
Hi,

There is some particular cases when I would like the reference to Telerik.Web.UI.WebResource.axd to be absolute in the html.  How can I acheive that?

For example, I would like this:

<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl05_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3afr-CA%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2" type="text/javascript"></script>

to instead look likt this:

<script src="http://mydomain.com/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl05_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3afr-CA%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2" type="text/javascript"></script>

Thanks.

P

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 24 Mar 2011, 05:57 PM
Hello Patrice Boissonneault,

RadScriptManager is designed in this way in order to prevent any security risks that otherwise may exist.

Regards,
Simon
the Telerik team
Tags
ScriptManager and StyleSheetManager
Asked by
Patrice Boissonneault
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or