This tutorial will show you how to use SiteMapPath with the Menu control to build up site navigation menu by using ASP.NET 2.0 and VB.NET.

The controls of Menu, SiteMapPath and SiteMapDataSource can generate navigation UI based on navigation data. This data can be stored in XML files, or it can be stored using the provider-based storage capabilities of the Site Navigation feature. This samples demonstrate using the different controls in conjunction with the Site Navigation feature.
At first, you will need to create a file Web.sitemap. The code is as follows:

Secondly, please build a MasterPage file Site.master. The code is as followw:

The front end SiteMapPathMenuNavigationVB.aspx page looks something like this:

Download Source Files