Using the SiteMap Class
Under the covers, the SiteMapDataSource control represents the contents of the SiteMap class. The SiteMap class represents an application’s Site Map regardless of whether the Site Map is stored in an XML file, a database, or some other data source. The class is a memory-resident representation of Site Map data.
All the properties exposed by the SiteMap class are shared (static) properties:
• CurrentNode—
Enables you to retrieve the SiteMapNode that corresponds to the current page.
• Enabled—
Enables you to determine whether the Site Map is enabled.
• Provider—
Enables you to retrieve the default SiteMapProvider.
• Providers—
Enables you to retrieve all the configured SiteMapProviders.
• RootNode—
Enables you to retrieve ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access