Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Tree menu with expand/collapse function

Tree menu with expand/collapse function

Scheduled Pinned Locked Moved ASP.NET
csharphelptutorialasp-netdatabase
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    simsen
    wrote on last edited by
    #1

    Hi, I'm a newbee into asp.net programming.... I want to develope a menu into my website that has the tree structure (without anything else than the text no -+ and so on) like this: Menu1 Menu1.1 Menu1.2 Menu2 Menu2.1 Menu3 Menu3.1 Menu3.2 Menu3.3 and so on....... Where the submenus expand/colapse when I click on the Menu1/2/3. I want it to dynamic with an access database I've created this way: MenuId MenuChild MenuName Link 1 0 Menu1 menu1.aspx 2 1 Menu1.1 menu1-1.aspx 3 1 Menu1.2 menu1-2.aspx 4 0 Menu2 menu2.apx and so on Can anybody help me to link to an tutorial where I can learn how to program the above in asp.net with C#... And I use an access database - but I'm able to also to use an MSSql database (the database is not my problem) Kind regards simsen :-)

    A 1 Reply Last reply
    0
    • S simsen

      Hi, I'm a newbee into asp.net programming.... I want to develope a menu into my website that has the tree structure (without anything else than the text no -+ and so on) like this: Menu1 Menu1.1 Menu1.2 Menu2 Menu2.1 Menu3 Menu3.1 Menu3.2 Menu3.3 and so on....... Where the submenus expand/colapse when I click on the Menu1/2/3. I want it to dynamic with an access database I've created this way: MenuId MenuChild MenuName Link 1 0 Menu1 menu1.aspx 2 1 Menu1.1 menu1-1.aspx 3 1 Menu1.2 menu1-2.aspx 4 0 Menu2 menu2.apx and so on Can anybody help me to link to an tutorial where I can learn how to program the above in asp.net with C#... And I use an access database - but I'm able to also to use an MSSql database (the database is not my problem) Kind regards simsen :-)

      A Offline
      A Offline
      Amit Kumar G
      wrote on last edited by
      #2

      r y using 2 or 1.1 ...If 1.1 then use java scripts otherwise 10 min job from 2.0...Please confirm which version u r using and i will try to help you more.... Amit Gugnani

      S 1 Reply Last reply
      0
      • A Amit Kumar G

        r y using 2 or 1.1 ...If 1.1 then use java scripts otherwise 10 min job from 2.0...Please confirm which version u r using and i will try to help you more.... Amit Gugnani

        S Offline
        S Offline
        simsen
        wrote on last edited by
        #3

        Hi Amit, I'm using 2.0.... I know there is an treeview in 2.0, but the treeview there has the +/- before the text. And I don't want the +/- I only want text. If there is one or more sub menu's it shouldn't link but expand (and when it is expanded and I hit on the text again it should collapse) Kind regards, simsen :-)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups