Absolute path to WebResource.asx

2 posts, 0 answers
  1. Patrice Boissonneault
    Patrice Boissonneault avatar
    28 posts
    Member since:
    Nov 2009

    Posted 22 Mar 2011 Link to this post

    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

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 24 Mar 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top