S
SpaceMarine
hello,
i find the server-side "~/" shortcut incredibly helpful for setting
properties on some of my server controls. it finds the full
application path to the specified URL.
is there a way to perform a similar application path in code-behind?
Server.MapPath is not it, that finds the full path from the file
system.
im looking for the full app path -- which may or may not be a virtual
folder... ex: when using VS.NET there is no app sub-folder name, since
the built-in VS web server runs the app as root. however when deployed
to production, my code runs under a virtual-folder app name.
is there a nice tidy way to retrieve this full app path?
thanks!!
sm
i find the server-side "~/" shortcut incredibly helpful for setting
properties on some of my server controls. it finds the full
application path to the specified URL.
is there a way to perform a similar application path in code-behind?
Server.MapPath is not it, that finds the full path from the file
system.
im looking for the full app path -- which may or may not be a virtual
folder... ex: when using VS.NET there is no app sub-folder name, since
the built-in VS web server runs the app as root. however when deployed
to production, my code runs under a virtual-folder app name.
is there a nice tidy way to retrieve this full app path?
thanks!!
sm