Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm doing a project in my job and I've got a problem.

I have a SiteMapPath inside my MasterPage, but, instead of using Response.Redired("myurl"), the project uses UserControls to change page's appearance, using the method setActiveView() in the same page.

I want to identify the UserControl I'm using, posting it in the SiteMapPath.

For example:

Now, in the SiteMapPath I have

Home > E-Commerce > Caimpaigns

In "Campaigns" I can access three UserControls clicking in buttons on the page: "Edit", "List Users" and "List Products".

When I click in the buttons, I want to add to the SiteMapPath the name of the UserControl I'm using.

So, if I click in "List Users", I want SiteMapPath like that:

Home > E-commerce > Caimpaigns > List Users

Thanks for helping.

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.