Web Site Navigation Using a SiteMap - Site Navigation with Menu Control
(Page 3 of 4 )
Site navigation as implemented in ASP.NET 2.0 uses the idea of providers to interact with the site structure data captured in the XML file Web.sitemap. The default provider that is provided reads the Web.sitemap file and creates a SiteMap object. The navigational controls that you will find in the toolbox use the sitemap object to implement the navigation. Instead of the default provider, a custom provider may also be used. This tutorial uses the built-in or default provider for site navigation.
For navigational aids there are several options like drop-down, Treeview, and Menu which are not specific for navigation but are wired to the hierarchical structure of the site by means of the SiteMapDataSource control (as we shall see presently) as shown. On the other hand you may also use a SiteMapPath control which is specially programmed for site navigation. This tutorial will be demonstrating the use of the Menu control to navigate the Tutorials site. Future tutorials will look at other controls that can be used.

Next: Where should we place the menu control? >>
More .NET Articles
More By Jayaram Krishnaswamy