C1SiteMapDataSource Features > Create New SiteMap |
Complete the following steps to create a new SiteMap using C1SiteMapDataSource control. Bind the SiteMap control to the C1SiteMapDataSource control, to view the output.
This topic assumes that you have four Web Forms added to your project, each representing a web page you want to link to the site map. |
A .sitemap file with the name web.sitemap is created and saved inside the project folder.
When you bind your SiteMap control to the C1SiteMapDataSource control and run the project, Site Map nodes appear as shown in the image below. C1SiteMapNode1 and C1SiteMapNode3 are at level0, whereas C1SiteMapNode2 is a level1 node.