S
slawek xxxxx
Hello everyone,
I have following problem : I develop asp.Net Application using web
controls. In each control I have a link to css stylesheet. If I use my
controls in pages located in two different directories (eg.
\adminpages\xxx.aspx and \adminpages\sysoperator\yyy.aspx) my controls
can't locate stylesheets. Is there any way to use a reference (in link
object) directly to main directory of the application?? Now I have :
<LINK href="CommonControls/Css/MyControl.css" type="text/css"
rel="stylesheet"> and I want to change it to something like :<LINK
href="{root}/CommonControls/Css/MyControl.css" type="text/css"
rel="stylesheet">, but I dont know how to obtain {root} path, supposing
that it's possible. Any suggetions??
Thanks in advance
Slawek
I have following problem : I develop asp.Net Application using web
controls. In each control I have a link to css stylesheet. If I use my
controls in pages located in two different directories (eg.
\adminpages\xxx.aspx and \adminpages\sysoperator\yyy.aspx) my controls
can't locate stylesheets. Is there any way to use a reference (in link
object) directly to main directory of the application?? Now I have :
<LINK href="CommonControls/Css/MyControl.css" type="text/css"
rel="stylesheet"> and I want to change it to something like :<LINK
href="{root}/CommonControls/Css/MyControl.css" type="text/css"
rel="stylesheet">, but I dont know how to obtain {root} path, supposing
that it's possible. Any suggetions??
Thanks in advance
Slawek