Menu and SiteMapDataSource Sample

This sample contains two menus that use the same Navigation provider data. Each example has configured which levels of data it is retrieving and which levels of data it is displaying. Navigate through the example and notice the different rendering.

Note:
Menu.StaticDisplayLevels=1
DataSource.ShowStartingNode="false"

Skip Navigation Links
Book 0
Book 1Expand Book 1
Book 2Expand Book 2
Book 3Expand Book 3


Library Home
Content Page  
Note:
Menu.StaticDisplayLevels=2
DataSource.ShowStartingNode="true"


Skip Navigation Links
Library Home
Book 0
Book 1Expand Book 1
Book 2Expand Book 2
Book 3Expand Book 3