views:

57

answers:

0

I have a navigation (menu) control I am working on using a siteMapProvider. I want the developer using the control to be able to exclude nodes from the siteMapProvider at run-time.

Here is the markup that I want them to use

<mymenu:navigation runat="server" id="nav1">
  <excludeNodes>
      <node>/site1</node>
      <node>/site2</node>
  </excludeNodes>
</mymenu:navigation>

I want to be able to access those values at run-time and exclude them from the menu rendering.