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 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.