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 7948349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:41:57+00:00 2026-06-04T01:41:57+00:00

I have a menu for my site, using a sitemap file and role provider

  • 0

I have a menu for my site, using a sitemap file and role provider to generate the links based on role.

When the menu was created manually, the links looked like this:

Link1 | Link2 | Link3 | etc... 

now its on a hover type of menu which is what i don’t want:

Link1
  |___ Link2___Link3
  |___ Link4

How can I get it to look as the first type?

My first time using sitemap for menu navigation so not too sure how to create the <siteMapNodes>

I assume its due to this:

<siteMapNode url="~/Reporting.aspx" title="Reporting" description="" roles="MyRole" >
<siteMapNode url="~/Auditing.aspx" title="Auditing" description="" roles="MyRole"/>
<siteMapNode url="~/TeamManager.aspx" title="Team Manager" description="" roles="MyRole"/>
</siteMapNode>

  • 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-04T01:41:58+00:00Added an answer on June 4, 2026 at 1:41 am

    A sitemap will nest items if the XML in the sitemap code is nested.

    The following will show:
    Link1 | Link2 | Link3

        <siteMapNode url="Link1Url" title="Link1" />
        <siteMapNode url="Link2Url" title="Link2" />
        <siteMapNode url="Link3Url" title="Link3" />
    

    The following will show:
    Link1
       |-Link2
       |-Link3

        <siteMapNode url="Link1Url" title="Link1">
            <siteMapNode url="Link2Url" title="Link2" />
            <siteMapNode url="Link3Url" title="Link3" />
        </siteMapNode>
    

    Your full Web.sitemap will look something like the following:

        <?xml version="1.0" encoding="utf-8" ?>
        <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" enableLocalization="true" >
            <siteMapNode url="~/" title="Home">
                <siteMapNode url="Link1Url" title="Link1" />
                <siteMapNode url="Link2Url" title="Link2" />
                <siteMapNode url="Link3Url" title="Link3" />
            </siteMapNode>
        </siteMap>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ASP.NET Sitemaps with a custom Role Provider to generate a site Menu
I have a fairly simple ASP.NET 2.0 menu control using a sitemap file and
I have created a site-map using the following HTML: <ul class=main-menu> <li> <div> <a
I have a multi-level mega menu on my site (using jquery plugin), however, when
I have a horizontal menu on my site using nice-menus in drupal. When you
I have a side menu on my site that i would like always visible.
I have a menu that I've created using jquery that pops-up on certain button
I have some mega menu style menus on a site I maintain. These are
I'm making a very basic menu for my site and I have used the
In my case, I have an HTML/CSS Menu in the site master . So,

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.