For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2008 > treeview menu









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author treeview menu
Mike

2008-03-20, 6:57 pm

Here is my scenario. I just took over an existing asp site that is using a
treeview menu on the pages. The treeview is an include file that is an
include that is on every page. The issue is, when the user clicks on a menu
option it opens a new page (menu is still there) and the menu is collapsed.
example:

menu looks something like this

Menu1
Menu2
Menu3

the user clicks on Menu1 they see this
Menu1
NE Region
SE Region
SW Region
Menu2
Menu3

When the user clicks on NE Region it takes them to the NE Region page, then
the menu is collapsed:
Menu1
Menu2
Menu3

Is there a way or an existing treeview menu out there, that will allow me to
keep the selected menu option expanded when the user goes to that page so
when they go to the NE Region page the Menu1 is expanded and NE Region is
highlighted?






Jon Paal [MSMD]

2008-03-22, 3:56 am

we don't know if your code is client side or server side...

however, try using a frameset page then your menus will remain unaffected while the content area is updated..


"Mike" <Mike@Ihatespam.net> wrote in message news:OT3Ub1riIHA.5208@TK2MSFTNGP04.phx.gbl...
> Here is my scenario. I just took over an existing asp site that is using a treeview menu on the pages. The treeview is an include
> file that is an include that is on every page. The issue is, when the user clicks on a menu option it opens a new page (menu is
> still there) and the menu is collapsed.
> example:
>
> menu looks something like this
>
> Menu1
> Menu2
> Menu3
>
> the user clicks on Menu1 they see this
> Menu1
> NE Region
> SE Region
> SW Region
> Menu2
> Menu3
>
> When the user clicks on NE Region it takes them to the NE Region page, then the menu is collapsed:
> Menu1
> Menu2
> Menu3
>
> Is there a way or an existing treeview menu out there, that will allow me to keep the selected menu option expanded when the user
> goes to that page so when they go to the NE Region page the Menu1 is expanded and NE Region is highlighted?
>
>
>
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com