473,503 Members | 1,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

treeview menu

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?


Mar 20 '08 #1
1 2163
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" <Mi**@Ihatespam.netwrote in message news:OT**************@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?


Mar 22 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2730
by: Steve | last post by:
Visual Studio 2003 .NET / C# I have a treeview object on a form which acts as the main menu controller for my application. the treeview is always in sight, and the form it is on acts as the...
4
14162
by: Aaron Queenan | last post by:
How can I use the designer to add a context menu to a class which inherits from a control, e.g. treeview, without adding the context menu to a form? For example, to add a context menu with...
1
1710
by: Shailendra Batham | last post by:
Hey guys I am using the IE Web controls treeview control. I popuplate the treeview with XML and it looks fine........... my question is how can I add a right click popup menu to the treeview...
3
2817
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
2
1438
by: Bernie Yaeger | last post by:
I have an mdi app that has a main menu on the parent form. I would like to use a treeview in place of one of the menu options, so that instead of a menu option - say, 'reports' - it would have...
5
1533
by: A-PK | last post by:
Hi, I am using treeview as my menu. my menu is like the following + Users & Groups - Users -Groups + Departmenuts - Engineering
4
9372
by: Andrew Robinson | last post by:
I am using a TreeView to perform navigation and have a few nodes that need to generate a popup menu. For this, I use the SelectedNodeChanged event and then add the relevant "window.open" script to...
0
1974
by: noneya22 | last post by:
I want to use a TreeView control as a one-level, vertical navigation menu. I'm using this control currently with a SiteMapDataSource and .sitemap file. I've written code that associates an image...
0
3274
by: divya1949 | last post by:
Create a windows c# application which will Read a xml file and populate nodes in the treeview. 1 On selection of treenode display the child nodes of that node in listview control 2. ...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.