Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the proper URL in user control
Message
De
22/08/2008 14:43:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01341120
Message ID:
01341209
Vues:
11
>Yeah, the difference is that in testing you're running out of a virtual directory named POAAEWeb, but production doesn't have that same pathing. If you just change to use server-side controls for your links and use the ~/MembersOnly/ syntax, that should work. ex.
>
>
><ul class="menutextindent">
>    <li><a runat="server" href="~/MembersOnly/MemberHome.aspx">Members Home</a></li>
>
That did it and I just published to the server live. It is working perfect.
Thank you so much - both of you and sorry I made such a simple thing difficult.
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform