.NET Webresources With Better URL?
Feb 16, 2010
it is possible to write own "webresources provider" in asp.net to change webresources URL which looks like:
WebResource.axd?d=qoS8iGdUsV4f8NgR_HS-hHWgRO2CDfStRaaqn7oJ2xBuwIMbn27JNufuUMn-aVlK0&
t=634013997250859375" to e.g.:
/webresources/folder/script.js
View 1 Replies
Jul 16, 2010
Im working on a project where i am implementing a friendly url system using the url rewite module in ii7.
This is all good and works great.
My only issue is that webresources.axd and Telerik.Web.UI.WebResource.axd both have relative paths. This causes lots of issues when the url is http://domain.com/some_page_name/
<script src="/WebResource.axd?d=mJUUfJUeVsvUq18HY14aGg2&t=634054669363345579" type="text/javascript"></script>
<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.1.519.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afcd44c12-f50d-4937-b05d-1aa46b5c5b3e%3a16e4e7cd%3aed16cbdc" type="text/javascript"></script>
Is there anyway I can assign an absolute url to these resources?
View 1 Replies
Feb 8, 2011
I have created a server control which uses recursion to create a menu. It essentially outputs nested lists with anchors inside them.
Now, this works perfectly, however, since the control is calling itself to render the child menus, it is also rendering multiple identical WebResource.axd javascript file references in .
how to stop this from happening? I just want the one reference in my tag.
View 1 Replies