I am trying to implement a scheme where navigation is split among 2 controls: Across the top of the page is a menu control that displays only the top-level sitemap nodes (2 levels, including root), in the form of clickable tabs. Down the left side of the page is a TreeView which acts as a submenu, whose DataSource changes to display the children of the selected top menu item. Similar to what this fellow describes here: http://forums.asp.net/thread/931021.aspx. However, I have implemented a custom SiteMapProvider.
I also don't want to navigate to a new page when the user clicks on one of the top menu tabs- I just want to postback so I can update my TreeView submenu, leaving alone whatever may be in the content area. Therefore, my top-level folders do not have NavigateURLs.
My problem is that when I declare my top Menu as
StaticDisplayLevels="2" MaximumDynamicDisplayLevels="0"
then my top level folders appear as non-clickable text, preventing me from selecting them.
What am I missing? Do I need to provide a NavigateURL for the top-level folders? I tried making them "#", but that's not unique...
Thanks for any help you can provide!
Carl