G
Guest
I have an application that uses a navigation control based upon a sitemap.
One of the nodes in the sitemap is <siteMapNode url="~/MyPages/Tasks.aspx"
title="My Work" description="My Work" />
The application path is http://localhost/ScherzerPhase1
When I navigate using the control it all works correctly.
However when I use Response.Redirect("~/MyPages/User.aspx") it acts strangely.
The "My Work" link still shows as going to
http://localhost/ScherzerPhase1/MyPages/Tasks.aspx in the status bar, but
when clicked upon, it goes to
http://localhost/ScherzerPhase1/MyPages/MyPages/Tasks.aspx and errors out
(having an extra /MyPages in the URL).
Any ideas of what is causing this?
Thanks.
One of the nodes in the sitemap is <siteMapNode url="~/MyPages/Tasks.aspx"
title="My Work" description="My Work" />
The application path is http://localhost/ScherzerPhase1
When I navigate using the control it all works correctly.
However when I use Response.Redirect("~/MyPages/User.aspx") it acts strangely.
The "My Work" link still shows as going to
http://localhost/ScherzerPhase1/MyPages/Tasks.aspx in the status bar, but
when clicked upon, it goes to
http://localhost/ScherzerPhase1/MyPages/MyPages/Tasks.aspx and errors out
(having an extra /MyPages in the URL).
Any ideas of what is causing this?
Thanks.