P
PJ6
In the VB runtime I can specify paths from the base directory with ~ like
so-
Page.LoadControl("~\Controls\SomeControl.ascx")
but when rendering the LINK tag HTML at runtime, this doesn't work -
<LINK rel="stylesheet" type="text/css" href="~\Styles\Styles.css">
What's the syntax for getting the base directory in HTML, or - much less
desirable - do I have to use a relative path from the page location?
Paul
so-
Page.LoadControl("~\Controls\SomeControl.ascx")
but when rendering the LINK tag HTML at runtime, this doesn't work -
<LINK rel="stylesheet" type="text/css" href="~\Styles\Styles.css">
What's the syntax for getting the base directory in HTML, or - much less
desirable - do I have to use a relative path from the page location?
Paul