I have a problem with using user controls for common page elements such as navigation bars. If I use the control in subfolders of the site, as is necessary for a large website, the links don't work. This can be worked around by using root-relative paths, e.g. instead of "Images/Navbar.gif" using "/MySite/Images/Navbar.gif".
However, this then creates a deployment problem. Let's say I want to deploy the site on a host, e.g.
www.mysite.com, I don't want it to have to be
www.mysite.com/MySite in order for the links to work!
Is there any way of working around this, which allows the links to work properly in the Visual Studio Web Forms designer?
Any help is much appreciated.