Search:
Namespaces
Discussions
.NET v1.1
Feedback
Relative to Application Root
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngfreeforall' list
.
Eric Marthinsen
Hello-
I'm trying to create links in my web application that are
relative to the application root. I thought I heard about some syntax
that uses the tilde (~) to do this, but I haven't gotten it to work. Am
I on the right track? If so, what is the correct syntax? Thank you.
Regards-
Eric
Reply to this message...
Tim Musschoot
Try Server.MapPath("/rootsubdir"). "/" marks the root for your
webapplication.
Tim Musschoot
Software Engineer
AspFriends Moderation Team
Click here to reveal e-mail address
http://www.aspalliance.com/timmusschoot
-----Oorspronkelijk bericht-----
Van: Eric Marthinsen [mailto:
Click here to reveal e-mail address
]
Verzonden: woensdag 14 augustus 2002 16:13
Aan: aspngfreeforall
Onderwerp: [aspngfreeforall] Relative to Application Root
Hello-
I'm trying to create links in my web application that are
relative to the application root. I thought I heard about some syntax
that uses the tilde (~) to do this, but I haven't gotten it to work. Am
I on the right track? If so, what is the correct syntax? Thank you.
Regards-
Eric
| ASP.net DOCS =
http://www.aspng.com/docs
| [aspngfreeforall] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/aspngfreeforall
= JOIN/QUIT
| news://ls.asplists.com = NEWSGROUP
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com