SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I have 20's of site in a single site collection we can say "portal A", Now I have list of site collections, let me explain it using a tree

Example of my Portal

Now we are creating breadcrumb navigation using a user control, which is placed in our master page and gets populated using this custom user control. I am not sure if we get values from SiteMap or Database maybe at few places we take it from database, but then we created another master page with another user control for that.


I have a give a link to "" on "" so that when a user click on the link he will be navigated to the site "", and the breadcrumb changes from this

1 > 1.1 > 1.1.2 >

to this

1 > 1.2 > 1.2.1 > >

which makes user confuse if they wanna go back from where they came from.Now problem is that these site's name are quiet random and they keep changing, so I can't think of any possible way at the moment using which, I can solve this problem.

I mean I have two ways to go to a site, but I want two breadcrumbs Navigations for it

or In short I want a BreadCrumb for that will show the path, I came from not the path Its getting from SiteMap or Database.

Thanks Alot for your time, btw I am using SharePoint 2007


share|improve this question
up vote 1 down vote accepted

I had the same kind of requirement . . Create a custom control and add it to all the master pages of your 20 sites. For each site maintain a list ,which stores the name and url of the link. there is a property page.UrlRefferer which will give you where you came can use this property

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.