ASPxSiteMapControl - Unbound Mode

Description
C#
VB
ASPX

This sample demonstrates the use of the ASPxSiteMapControl in unbound mode.

The ASPxSiteMapControl's unbound mode allows site map data to be generated dynamically. In this demo, the ASPxSiteMapControl takes the data using the ASPxSiteMapDataSource component, and the source of data for this site map data source is the SiteMapProvider. In this demo, the Page_Load event is handled to create a folder hierarchy of a sample web site with the help of an UnboundSiteMapProvider object. This provider is then used as the source of data for the ASPxSiteMapDataSource components (assigned to their SiteMapProvider properties). (See VB or C# code)

Note that the site map control's MaximumDisplayLevels property is set to 3 in order to display only three levels of node hierarchy.