Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8309559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:09:30+00:00 2026-06-08T19:09:30+00:00

I have a web site using MvcSiteMapProvider for the main navigation. I have run

  • 0

I have a web site using MvcSiteMapProvider for the main navigation. I have run into a scenario that I’m unable to figure out.

My site has the following navigation:

navigation screenshot

The site map looks like:

<?xml version="1.0" encoding="utf-8" ?>
<mvcSiteMap xmlns="http://mvcsitemap.codeplex.com/schemas/MvcSiteMap-File-3.0" enableLocalization="true">
<mvcSiteMapNode title="Look Up" controller="Lookup" action="Index">
    <mvcSiteMapNode title="PackingList" controller="PackingList" action="Index"> 
        <mvcSiteMapNode title="Configuration" controller="Configuration" action="Printers">
            <mvcSiteMapNode title="Printers" controller="Configuration" action="Printers" />
            <mvcSiteMapNode title="Quick List" controller="Configuration" action="QuickList" />
        </mvcSiteMapNode>
    </mvcSiteMapNode>
</mvcSiteMap>

I have not been able to figure out how to properly leverage the site map for the side tab navigation reliably. I also need to have the Configuration tab remain selected as well as the active side tab.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:09:32+00:00Added an answer on June 8, 2026 at 7:09 pm

    When two nodes have the same controller and action name, the SiteMapProvider cannot determine which node is active, and it always chooses the first matching node, in this case ‘Configuration’.

    The only way to make both nodes selected is:

    1. Use a different action of the printers menu
    2. Changed the display template to indicate the nodes in the current path with a CSS class or a like
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a main web-site that uses passive federation (ADFS 2.0) This website has
I've have a web site I'm building using NodeJS, that needs to serve up
I have been using the 'Web Site Administration Tool' that you can bring up
I have a Windows Azure web role that contains a web site using ASP.NET
I have web site set up that has some forms authentication through LDAP. I'm
I have a web site written using ASP.NET MVC3. The site has one single
I have a web site that is using Linq2Sql on the server side. Every
I have an ASP.NET 3.5 Web Site using the standard SQL Membership Provider. The
I have just put implemented Facebook connect on my web-site using the JavaScript SDK.
I have a web site with an API which publishes the information using JSON.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.