A
Allen Racho
Hello, all! Great to find this resource.
I have an asp:Menu control on a page that gets its data from a SiteMapDataSource (which in turn draws data from a SQL Server). Everything works well, as expected, WRT normal navigation menu operation.
However, what is the recommended practice -- if there is one -- for easily excluding submenu items so that they don't appear on any menu, but still show up in the SiteMapPath ("breadcrumbs") control?
Let me provide a concrete example. Here's a snippet of the main menu:
[Home] [About] [Contact]
When the user submits a message through the Contact form, one of two results pages are called: Success.aspx or Failure.aspx. In the SiteMap data source, I have made the nodes for these two pages as children of the Contact page node. As such, when called, they appear in the breadcrumb trail as follows:
Home >> Contact >> Success|Failure
However, they also annoyingly appear in the dynamic drop-down under the main menu item for Contact!
You get the idea... So, is there a built-in way to exclude child nodes from appearing under a parent item, but still appear normally in the breadcrumb trail?
Thanks much!
Allen
I have an asp:Menu control on a page that gets its data from a SiteMapDataSource (which in turn draws data from a SQL Server). Everything works well, as expected, WRT normal navigation menu operation.
However, what is the recommended practice -- if there is one -- for easily excluding submenu items so that they don't appear on any menu, but still show up in the SiteMapPath ("breadcrumbs") control?
Let me provide a concrete example. Here's a snippet of the main menu:
[Home] [About] [Contact]
When the user submits a message through the Contact form, one of two results pages are called: Success.aspx or Failure.aspx. In the SiteMap data source, I have made the nodes for these two pages as children of the Contact page node. As such, when called, they appear in the breadcrumb trail as follows:
Home >> Contact >> Success|Failure
However, they also annoyingly appear in the dynamic drop-down under the main menu item for Contact!
You get the idea... So, is there a built-in way to exclude child nodes from appearing under a parent item, but still appear normally in the breadcrumb trail?
Thanks much!
Allen