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


1 Answer 1


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 from.you can use this property

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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