I want to have a horizontal set of graphics to act as my navigation for my site, a it like what you see on play.com/blahdvd.com etc.
one of my requirements is that the button (graphic) that relates to the current page is a different graphic to the rest, it relates to different folder levels in the site, i can successfully evaluate Request.Path.IndexOf() to see which one is on but i am having difficulty setting the image of the control. Also as the navigation links are in the master page, the relative links are different when in a page from a sub folder,
i have tried using href="~/xxx/xx.aspx" but the my url looks like www.mysite.com/~/xxx.xx.aspx which causes an error as the path to the page does not exist.
and href="/xxx/xx.aspx" also results in a file not found error, even though my folder structure is
<root>
<xxx>
xx.aspx
index.aspx