Re: VS.NET, Default Web Site, and relative paths...
Ben Joyce <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
I suppose I could use an ASP Server Image control for all my images, seems a bit of an overkill though. On 12/21/06, Ryan Heath <[email protected]> wrote: > In web pages/controls code, you can use ResolveUrl("~/yourpath") too. > > HTH > // Ryan > > On 12/21/06, Ben Joyce <[email protected]> wrote: > > Hi all. Thanks for the replies, I trawled through my application > > making all the required changes. > > > > It's a bit frustrating; I can use the ~/ in client-side paths for CSS > > for not for JavaScript files, also it does not work for IMG tags but > > does for the server-controls. > > > > Oh well. > > > > Ben > > > > On 12/14/06, Fritts,Jordan <[email protected]> wrote: > > > Ben, > > > > > > I know exactly what you're talking about, and there is any easy way > > > around it. I haven't used .NET for some time, but I just did this on my > > > machine. > > > > > > Instead of entering "http://localhost/", just delete the trailing slash > > > so you have "http://localhost" > > > > > > Thanks, > > > Jordan > > > > > > =================================== > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > View archives and manage your subscription(s) at http://discuss.develop.com > > > > > > > =================================== > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > View archives and manage your subscription(s) at http://discuss.develop.com > > > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com