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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:30:40+00:00 2026-06-05T08:30:40+00:00

I have a multiple level nested UL for a Menu Control in my Asp.net

  • 0

I have a multiple level nested UL for a Menu Control in my Asp.net (C#) website. Example list is given below:

   <ul class="my-menu">
    <li><a href="#a">My User Control Menu</a>
        <ul>
            <li><a href="#aa">menu item that is quite long</a> </li>
            <li><a href="#ab">menu item</a>
                <ul>
                    <li ><a href="#">menu item</a></li>
                    <li><a href="#aba">menu item</a></li>
                    <li><a href="#abb">menu item</a></li>
                </ul>
            </li>
        </ul>
    </li>
    <li><a href="#">menu item 2</a> </li>
    <li><a href="#">menu item 3</a>
        <ul>
            <li><a href="#">menu item</a>
                <ul>
                    <li><a href="#">short</a></li>
                    <li><a href="#">short</a></li>
                </ul>
            </li>
        </ul>
    </li>
    <li><a href="#">menu item 4</a> </li>
  </ul>

How can I add the elements in any nested order in my list through code.

  • 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-05T08:30:41+00:00Added an answer on June 5, 2026 at 8:30 am

    You can build the menu using a repeater:
    http://support.microsoft.com/kb/306154

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

Sidebar

Related Questions

the problem i have is that i have multiple nested master pages: level 1
I have multiple level parent-child tables(GrandParent, Parent and Child, all many to one relation,
I have multiple themes on my website and users can just switch between multiple
I have a three-level multi-nested form in Rails. The setup is like this: Projects
We have an application where we have a single level navigation menu with some
I am looking for a way to have multiple-level subdomains on a server running
What choices do I have for creating stateful dynamic content in an ASP.Net web
Hi I have multiple country domains for one company and one top level .com
Is there a way to make a multiple level lazy load? If I have
We have multiple log files like database log, weblog, quartzlog in our application. Any

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.