Anja

Anja

  • NA
  • 15
  • 0

Tree menu with expand/collapse function

Jan 13 2007 2:42 PM

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 :-)