Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the proper URL in user control
Message
 
To
22/08/2008 10:58:07
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01341120
Message ID:
01341135
Views:
13
>I have tried:
>"~/MembersOnly/MemberPortal.aspx"
>"MembersOnly/MemberPortal.aspx"
>"../MembersOnly/MemberPortal.aspx"
>
>I can't get anything to work, any help is appreciated.

You should be able to use /MembersOnly/MemberPortal.aspx. You can't use the ~ syntax here since you're not using server-side controls. This assumes that your URL looks like this when you are in the root directory:

http://www.mywebsite.com

If it has a subdirectory, eg http://www.mywebsite.com/POAAEWeb/ then you need to change the links to /POAAEWeb/MembersOnly/MemberPortal.aspx.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform