Questions tagged [resolveurl]

45 questions
0
votes
2 answers

Android: Using resolved IP Address instead of hostname

I would want to use resolved IP address to connect to server instead of hostname. Here is my code snippets: // Get domain name from URL String domainName = url.substring("http://".length(), url.indexOf("/", 8)); // Get IP…
Ramya K Sharma
  • 743
  • 8
  • 16
0
votes
1 answer

How to safely remove resolve-url?

I have an npm package resolve-url in my React Native project. The package is deprecated, and I'm not using it, so I want to remove it. However, after I run npm uninstall resolve-url to uninstall per npm's documentation, my project no longer runs…
Super Jade
  • 5,609
  • 7
  • 39
  • 61
0
votes
2 answers

Problem with anchor links using resolveurl

I'm using to pull in content from another site (coldfusion) and resolveurl="true" so all the links work. The problem I'm having is resolveurl is making the anchor links (href="#search") absolute links as well breaking them. My question is…
dbaker6
  • 39
  • 2
  • 8
0
votes
1 answer

Webpack cannot resolve relative path

I have this folder structure This is my webpack.config.js var path = require('path'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var CleanWebpackPlugin = require('clean-webpack-plugin'); module.exports = { entry: { …
Jack Skeletron
  • 1,351
  • 13
  • 37
0
votes
1 answer

window.resolveLocalFileSystemURL returns code 5

Recently I figured out that I could no more upload pictures and videos from my app (iOS). After investigation, the function window.resolveLocalFileSystemURL always fails and returns {"code":5}. However, it worked fine till recently and I do not meet…
Pierre
  • 1,044
  • 15
  • 27
0
votes
1 answer

How to recursively get absolute url from parent instance(s)?

I have a page model that contains instance of itself as possible parent page. So every page can be child of another page. What I would like to do is get the absolute url to give me link that is structured according to its parent architecture. So…
Ablivion
  • 111
  • 14
0
votes
1 answer

The controls collection cannot be modified because the control contains code blocks(i.e, <%...%>)

I have this problem which seems to be a common one, I have fixed the said issue but by fixing it I have made another issue and I'm hoping someone knows a way to fix it. I have images on a webpage which need to resolve the URL before when I had the…
Thomas James
  • 57
  • 1
  • 7
0
votes
1 answer

Keep old URLs when implementing UrlRewriter.net

I added UrlRewriter.net to my site today and it works fine with redirecting my SEO links to actual pages. The question is if there is any way to keep my old links in site and have ResolveUrl() using the rules to output links in my page. The "old"…
Fischer
  • 246
  • 1
  • 3
  • 11
0
votes
1 answer

use ResolveUrl in script address and JQDatePicker

i use this code for address script in master page: its…
Babak Saeedi
  • 157
  • 4
  • 14
0
votes
2 answers

new control().ResolveUrl("") not working on deployed

I have an application using MVC. In my controller I have their a viewdata[] which contains the image path (Viewdata["dd"]=new Control().ResolveUrl(path)). This will work on my local but on the deploy it will not work anymore. Anybody have experience…
mr.b
  • 2,708
  • 8
  • 39
  • 64
0
votes
3 answers

Path not able to access css or js file on root in asp.net

I am not able to get the correct path of CSS or JS file when i try to access them from sub folder en/Default.aspx file. I have following folder structure Default.aspx en/Default.aspx en/MasterPage.master ar/Default.aspx …
Learning
  • 19,469
  • 39
  • 180
  • 373
0
votes
1 answer

Is it required to call ResolveUrl() before LoadControl()?

Is it required to call TemplateControl.ResolveUrl() before passing it to TemplateControl.LoadControl()? Which way is preferred? LoadControl(ResolveUrl("~/MyControl.ascx")); LoadControl("~/MyControl.ascx"); LoadControl("MyControl.ascx"); or maybe…
abatishchev
  • 98,240
  • 88
  • 296
  • 433
0
votes
2 answers

Best way to register js for modularity in User Control

i have a control that is organized like this and i want to have the javascript registered on the calling master pages, etc, so that anywhere this control folder is dropped and then registered, it will know how to find the URL to the js. Here is…
Cameron A. Ellis
  • 3,833
  • 8
  • 38
  • 46
0
votes
0 answers

jQuery / javascript resolve virtual address to URL

I am trying to load a partial view based on the current selected value in a dropdown list. My code works when I hard code the url... $(document).ready(function () { $('#accountDropdownList').change(function () { var value =…
Tim Blackwell
  • 699
  • 1
  • 7
  • 18
0
votes
3 answers

How to give path for image in a master page for two sub-pages in two locations?

Hi all my work environment is asp.net c# vs2008. My issue is this, i have a master page outside.master in shared folder.Inside it i have an image control with i am referring this master page from in…
1 2
3