Last post Jan 28, 2008 12:52 AM by Amanda Wang - MSFT
Jan 24, 2008 12:57 AMemail@example.com|LINK
I have a requirement that,
I have a sitemap datasource in which let us assume 10 items are there
I want to add the items separated by '>' when a user selects each item like this
Home > ASP.NET Forums > General ASP.NET > Web Forms
Each would be a hyperlink like. When the user click on "ASP.NET Forums "
it has to navigate to that particular page
then the appearence should be like this
Home > ASP.NET Forums
can anyone help me out ?
Jan 24, 2008 06:55 AM|DeMatos|LINK
if u are using vs studio u just need to drag and drop from tool box sitemappath where u want and it will make a bread crump since u have a site map loading from a websitemap
Jan 28, 2008 12:52 AM|Amanda Wang - MSFT|LINK
You can try to use the sitemappath control.
The SiteMapPath displays a navigation path that shows the user the current page location and displays links
as a path back to the home page. The control provides many options for customizing the appearance of the links.
The SiteMapPath control obtains navigation data from a site map. This data includes information about the pages in your Web site, such as the URL, title, description, and location in the navigation hierarchy. Storing your navigation data in one place
makes it easier to add and remove items in the navigational menus of your Web site.
The more you refer this msdn article:
Hope it helps.