Questions tagged [resolveurl]
45 questions
2
votes
2 answers
ResolveUrl Problem in Master Page
Okay,
I know it is weird but when I put this code between in master.page, this is how it renders into:

Tarik
- 79,711
- 83
- 236
- 349
2
votes
2 answers
How to resolve URL redirects?
I have a txt document with many short urls.Each url is seperated by a single line.I want to resolve the URLs to get the final link.Also some URLs are redirected twice.How to automate this to get the final urls with output format of one url per…

Dead lock
- 33
- 2
- 6
2
votes
1 answer
Override ASP.NET tilde (~) resolution just for images
I have a large legacy application, and I would like to move all of our images to a CDN.
Currently, all of our images reside under the application root itself, so the paths are all like "~/Images/MyImage.jpg." Due to the requirements of our system,…

Brent Miller
- 111
- 4
1
vote
1 answer
Is dns resolve rule possible?
Is it possible to add port field to a dns query response in theory?
Typical Query&Response: google.com -> someip:80 (for http)
Desired Query&Response: google.com ->someip:5666 (for http)
so web browser can make http requests to not 80 but to 5666.

user818117
- 420
- 1
- 5
- 15
1
vote
2 answers
Is it possible to override ResolveUrl?
I use the following my .net applications to resolve the path to an image or css file or javascript file.
<%=ResolveUrl("~/Scripts/myscript.js")%>
<%=ResolveUrl("~/images/myimage.jpg")%>
All my pages and controls inherit from a base page or base…

amateur
- 43,371
- 65
- 192
- 320
1
vote
1 answer
(GCBV) How to call custom method to publish blog (UpdateView)
Good day SO!
Next to Java I'm trying to learn some Python/Django since the company I work for is also going to use Django. However, I am trying to figure out how to work with Generic Class Based Views. I hope somebody can give me some information to…

Nrzonline
- 1,600
- 2
- 18
- 37
1
vote
3 answers
URL issue with sub directories
I am creating a website with server side includes, and have multiple directories.
For example in the head.html(it's an include) I am pointing the stylesheets as href="css/style.css" and it's works fine in the home page. but when I am trying to run a…

Shafeeque
- 555
- 1
- 7
- 24
1
vote
3 answers
How to best normalize URLs
I'm creating a site that allows users to add Keyword --> URL links. I want multiple users to be able to link to the same url (exactly the same, same object instance).
So if user 1 types in "http://www.facebook.com/index.php" and user 2 types in…

Art
- 1,027
- 1
- 12
- 21
1
vote
1 answer
ResolveUrl in javascript
I need to use ResolveUrl in my javascript function.
How can I use it?
Note
In my javascript function I'm setting some images to show a message box. Since my pages are in different places(root, other folders) I need to use ResolveUrl.
Thanks

bahar_Agi
- 644
- 4
- 17
- 29
1
vote
1 answer
"Symbolic" link to resolve requests to a folder outside public_html?
I have a lot of image and pdf files in a folder within the public_html directory, and I have a lot of scripts on public_html dynamically processing, creating and editing these files based on user requests.
Now the problem is that I've realized that…

user961627
- 12,379
- 42
- 136
- 210
1
vote
0 answers
Does anyone know of a front-end method that resolves urls similar to ASP.NET MVC Url.Action()
What I am looking for is a lightweight front-end framework that can take partials, such as a footer navigation, and resolve urls correctly from any location in the file system.
For example, I have a main index page with footer links that navigate…

Brian Muenzenmeyer
- 1,026
- 1
- 7
- 17
1
vote
2 answers
ResolveUrl prepending random string to actual url
I am using resolveUrl to call a virtual directory specified in my web config. Recently my error log gave me a issue to where it prepened a long string to this path. So to be clear it resolved the proper url but added a string that was over 240 chars…

Andrew Brower
- 1,257
- 2
- 9
- 10
0
votes
3 answers
Using ResolveUrl on HTML button in MasterPage
I have the following HTML in my MasterPage:
I'm trying to figure out how to get ResolveUrl to work with…

Jagd
- 7,169
- 22
- 74
- 107
0
votes
3 answers
Resolve URL Redirect
I have set up a URL redirect on http://freedns.afraid.org/ so I can change host to a file that my application downloads, without the need of changing the code in my app.
The problem is that I need to resolve the correct URL before downloading the…

fgblomqvist
- 2,244
- 2
- 32
- 44
0
votes
2 answers
How to use absolute url in aspx page on development machine?
I find myself using the ResolveUrl function a lot in my aspx pages but the resolved path is always relative. i would like to be able to have the rendered path start with the regular "http://localhost/myproject/"
How can i achieve that without…

ak3nat0n
- 6,060
- 6
- 36
- 59