October 2010
Intermediate to advanced
1920 pages
73h 55m
English
SiteMapPath ControlThe SiteMapPath control enables you to navigate easily to any parent page of the current page. It displays the standard breadcrumb trail that you see on many popular websites (see Figure 22.1).
Figure 22.1. Breadcrumb trail at Yahoo.com.

You can use the SiteMapPath control simply by declaring the control in a page. The control automatically uses the Web.sitemap file located in the root of your application. For example, the page in Listing 22.2 includes the SiteMapPath control (see Figure 22.2).
Figure 22.2. Displaying the SiteMapPath control.
Listing 22.2. UsingSiteMapPath/DisplaySiteMapPath.aspx
You can ...