G
Guest
I just learned about the wonderful ~ in paths in ASP.NET which allows me to reference the APPLICATION root instead of the IIS docroot. Love it! I'm finding that I can use ~ in many places as long as the control in which it's used is set to runat="server". It's very handy.
Here's the problem. I have
<link rel="STYLESHEET" type="text/css" href="/Shared/CSS/Global.css" /
on every page of the site. I REALLY want to be able to locate the href of this link using the ~ so that it's relative to the application root rather than the IIS docroot. But it doesn't seem like there's any way to do that.
Ideas
Ale
Here's the problem. I have
<link rel="STYLESHEET" type="text/css" href="/Shared/CSS/Global.css" /
on every page of the site. I REALLY want to be able to locate the href of this link using the ~ so that it's relative to the application root rather than the IIS docroot. But it doesn't seem like there's any way to do that.
Ideas
Ale