>The use of ~ causes a site to be blocked by Norton Security tools. So, we got rid of that character a few months ago when Norton decided to implement that detection thinking that all sites using that character are bad sites. This detection was so bad that the site was completely blocked. So, basically, a user thinks that the site is down when it is fully operational.
>
Why would the ~ ever get sent to the client over an Internet Connection? The ~ would be resolved before that.
You'd call ResolveUrl() as part of your NavigateUrl assignment below...
+++ Rick ---
>As for Page.ResolveUrl(), I understand it provides me a generic way to resolve and adjust a hyperlink in a control so I can have it linked from the main directory, again by using that ~ character.
>
>In my case, I have the ASPX like this where I show two examples of menu items:
>
>
><LI><B><asp:HyperLink ID="HyperLink1" runat="server">Who is Direct Martial Arts?</asp:HyperLink></B>
><LI><B><asp:HyperLink ID="HyperLink2" runat="server">What do we have to offer?</asp:HyperLink></B>
>
>
>Then, in the code behind, I use:
>
>
> CType(oApp.oPage.FindControl("HyperLink1"), System.Web.UI.WebControls.HyperLink).NavigateUrl = oApp.cUrlReceivedOriginal + "#1"
> CType(oApp.oPage.FindControl("HyperLink2"), System.Web.UI.WebControls.HyperLink).NavigateUrl = oApp.cUrlReceivedOriginal + "#2"
>
>
>The step I am trying to avoid is to use code behind to adjust the URL. If there would be a syntax directly from the ASPX page I could use, that would help me a lot.
>
>Or, maybe I misunderstood the use of Page.ResolveUrl(). If that is the case, don't hesitate to let me know.
>
>Thanks