Using Site-Navigation Controls

ASP.NET 2.0 comes with three types of site-navigation controls: Menu control, SiteMapPath control, and TreeView control. They can all draw the navigational information from an XML file named Web.sitemap, which is saved in the root of your site. The Menu control is the Dynamic HTML type of menu that you might be familiar with. When you point to a link that has child pages below it, a secondary menu appears. The TreeView control is similar to what you will find at a site such as and is appropriate for organizing very large sites that have lots of hierarchical information. The SiteMapPath control provides what you might be familiar with as breadcrumb navigation, where it will indicate the page the ...

Get Microsoft® Expression® Web 2 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.