SiteMapPath

Sanjay Verma replied to kalit sikka at 04-Jul-08 06:08
The SiteMapPath control displays a list of links representing the user's current page and the hierarchal path back to the root of the website. This functionality is sometimes referred to as a breadcrumb for the user.
SiteMapPath Control and Data Retrieval
The SiteMapPath control relies on a SiteMapProvider to retrieve the data that it will display. Unlike the Menu or Treeview control the SiteMapPath control does NOT use a SiteMapDataSource control and can not be bound to other hierarchal datasource controls.

The default SiteMap provider will automatically be used by the control or you can set the SiteMapProvider property on the control to point to any provider already configured in the web.config file. The SiteMapPath control will only display on a page whose URL is contained within the specified SiteMapPath provider. NOTE: This is a typical error that developers encounter � so if the SiteMapPath control does not appear when you run your page check to make sure the page is listed correctly (no typos) in the SiteMapPath providers data store, the web.sitemap file.

The SiteMapPath control will automatically take advantage of the security trimming, URL remapping and Localized Site Map data features of the Site Navigation API.

See the following article to see the example of sitemappath.

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/navigation/sitemappath.aspx

Hope it helps.
Biography
Asp.Net Developer


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  How to use SiteMapPath - kalit sikka  03-Jul-08 08:33 8:33:53 AM
      See this to know abt SiteMap - Sujit Patil  03-Jul-08 08:43 8:43:01 AM
      use as it - A K  03-Jul-08 08:45 8:45:26 AM
      use SiteMapPath with web.sitmappath in root directory - Deepak Ghule  03-Jul-08 09:03 9:03:00 AM
      site map sample - Umapathy Kaliaperumal  03-Jul-08 09:27 9:27:20 AM
      site map sample - Umapathy Kaliaperumal  03-Jul-08 09:27 9:27:25 AM
      Reply - alice johnson  03-Jul-08 01:11 1:11:53 PM
      SiteMapPath - Sanjay Verma  04-Jul-08 06:08 6:08:46 AM
View Posts

promotion
Silverlight    WPF    WCF    WWF    LINQ   
JavaScript    AJAX    ASP.NET    XAML   
C#    VB.NET    VB 6.0    GDI+    IIS    XML   
.NET Generics    Anonymous Methods    Delegate   
Visual Studio .NET    Expression Blend    Virus   
Windows Vista    Windows XP    Windows Update   
Windows 2003 Server    Windows 2008 Server   
SQL Server    Microsoft Excel    Microsoft Word   
SharePoint    BizTalk    Virtual Earth   
.NET Compact Framework    Web Service   


"Everything" RSS / ATOM Feed Parser
How to send and receive messages through message queuing in .Net
How to Read text file as database
SQL Server 2005 Paging Performance Tip
Display code of web page.
Fully Scalable Excel File Importer class for .net using Microsoft Jet driver
Generic Chart Color Manager class that can be used for any charts
Helper class to style the infragistics wingrid
Using Reflection to detemine as Assembly Info in and out.
Helper class to play with Window (Owners and position)
Resolving displayname from the culture using the XmlLanguage and LanguageSpecificStringDictionary class