Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the proper URL in user control
Message
 
À
22/08/2008 10:58:07
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01341120
Message ID:
01341135
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform