Hello,
I am having trouble figuring out URL's from my master page.
Here is my setup. I have a default.aspx and default.master file in the root
folder. I have an "images" folder with logos and css files in there. I also
have a "html" folder with more pages in there.
The default.aspx file loads find, but when I open any of the other files
under "html" folder, the linking is off therefore the logo's and css can't
be found.
I tried linking different ways:
~/images/default.gif
/images/default.gif
images/default.gif
I think the problem is when I publish to the server, I have somethink like
http://localhost/test/default.aspx so that http://localhost/test is should
be the base URL, however /images/default.gif will take you to
http://localhost/images/default.gif.
Is there a way do make this work without having to include the "test" in the
URLs? The reason I want to so it this way is because I eventually want to
have versions (ie: 0.1, 0.2, etc) and I don't want to have to change all of
the URLs in my code each time.
Thanks,
Brett