Hi Yall,

I'm developing a small site for my field service in C# / ASP.

I have created a master page template to use for all of my pages and on this template, I have a navigation menu.
Of course, I want the navigation menu to appear on all pages. However, when I make pages in their respective sub-directories, the menu continues to look for the original /directory. (If that makes sense.)

Is their any way to code the master page or make a control that will recognize when the page is looking out from a sub-directory?

Of course, I could code every page's menu to point back to the root directory but their has to be a dynamic way of using the same menu, with the same urls, anywhere in the site.

I trying creating a site map with xml (a tool in VS) and using the respective controller within the masterpage, still no luck.