471,350 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

returning to site root

I want to return to the website root directory in order to use a
consistent link across multiple pages. I was told using
"~/folder/page.aspx" would get me to page.aspx no matter what directory
I start in but now I am just getting that to link to
"http://server_name/original_folder/~/folder/page.aspx".

Any help on this is appreciated.

Lee

Feb 15 '06 #1
4 1203
Lee,

What do you mean you want to "return" to the website root directory?
Are you trying to create a link? If so, you can start off with "/" and it
will take you to the root of the site.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Lee Roth" <le******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
I want to return to the website root directory in order to use a
consistent link across multiple pages. I was told using
"~/folder/page.aspx" would get me to page.aspx no matter what directory
I start in but now I am just getting that to link to
"http://server_name/original_folder/~/folder/page.aspx".

Any help on this is appreciated.

Lee

Feb 15 '06 #2
If I want to link to http://server/client/folder/page from both
http://server/client/folder2/page2 and http://server/client/page3 using
the same link from a master page - how can I do that?

Feb 15 '06 #3
You would set a link to:

/client/folder/page
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Lee Roth" <le******@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
If I want to link to http://server/client/folder/page from both
http://server/client/folder2/page2 and http://server/client/page3 using
the same link from a master page - how can I do that?

Feb 15 '06 #4
Thanks

Feb 17 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by John Rebbeck | last post: by
5 posts views Thread by Diego Mijelshon | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.