How do I link a Navigation Menu to an already existing Sitemap

Posted by JMK on Stack Overflow See other posts from Stack Overflow or by JMK
Published on 2012-06-22T15:13:37Z Indexed on 2012/06/22 15:15 UTC
Read the original article Hit count: 222

Filed under:
|
|

I am just beginning my journey into web development and I have a very basic question, but I am none the less stumped.

I have setup a new ASP.NET Empty Web Application. In this application, I have created a few *.aspx pages and a sitemap called 'Web.sitemap'.

I have placed a SiteMapPath control onto my Master page and, with no further configuration, this detected my Web.sitemap and displays the location of the page on any *.aspx page which derives from the master page.

However, whenever I add a Navigation Menu, this doesn't happen. When I bring up the Menu Tasks dialogue box, I can't select this from the Choose Data Source dropdown, my only option is to choose <New data source...> which brings up the Data Source Configuration Wizard, and from this I can create a new Site Map, however I want to use the already existing one.

How do I go about this?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET