System.Web.UI.WebControls Namespace SiteMapPath Class
.NET Framework version 2.0
Sets or retrieves the SiteMapProvider that is associated with a SiteMapPath control.
Inline |
<asp:sitemappath provider = sitemapProvider ... > |
Script |
SiteMapPath.SiteMapProvider = sitemapProvider |
sitemapProvider |
A SiteMapProvider instance that is associated with the SiteMapPath control. |
The property is read/write with a default value of XmlSiteMapProvider.
Use the SiteMapProvider property to specify or determine the SiteMapProvider instance to use with a SiteMapPath control.
All available providers are contained in the SiteMap.Providers collection, and can be enumerated and retrieved by name using the Item property.
SiteMapPath Members