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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:41:23+00:00 2026-06-09T13:41:23+00:00

Added a menu control and selected new datasource: SiteMapDataSource1 Here is my Web.sitemap so

  • 0

Added a menu control and selected new datasource: SiteMapDataSource1

Here is my Web.sitemap so far:

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode url="~/Home.aspx" title="Home"  description="Home Page">
      <siteMapNode url="~/PostItem.aspx" title="Post Item"  description="Post a new item" />
    </siteMapNode>
</siteMap>

How can I add more root level items? I can create more siteMapNode’s within the root level one that’s already there, but if I add any outside of that it gives me an error. It makes sense to me why that would cause an error, but I’m thinking there’s obviously a way to get the menu to display multiple root level menu items… but how?

  • 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-09T13:41:25+00:00Added an answer on June 9, 2026 at 1:41 pm

    –Edit–

    If you want to build the Menu control with a xml data set, then you can have multiple nodes at the root level. This can be done via the designer and specifying MenuItems in the Items set of the Menu control, you can also add MenuItems to the Items list in the code behind, or bind it to an xml data set.

    The MSDN has more information regarding this control. Code Project has a tutorial on using the xml data to build the Menu control.

    –Original–

    Sorry, you cannot add more than one root level siteMapNode. Typically you see that being the main entry point of the site (like you have it configured). Additional navigation is added from there.

    Take a look at the MSDN for more information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I added an asp:menu control (with a web.sitemap backend) to my app. For this
I have added a default menu control to my user control. I need to
In my Default.Master file I added the Menu Control. All seems good. But I
I have added a menu item in edit control block(ECB) in document library(using following
I'm developing a Firefox Extension. I added a new item to the Tools Menu
I have just added a Telerik menu to my MVC application. I also have
How can I add click event to newly added item of menu? Below is
I'm developing an android game, and just added a main menu. This is a
I have added , menu items to my code by : public boolean onCreateOptionsMenu(Menu
I'm looking to build a flyout type menu in Silverlight that will be added

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.