Menu Control where non selected nodes auto collapse when another root node is chosen.

S

sloan

http://weblogs.asp.net/scottgu/archive/2006/01/17/435765.aspx
http://aspnet.4guysfromrolla.com/articles/030806-1.aspx

I've been looking for an implementation of a Menu Control that controls
"drill down" on the non selected item.


For Example, if my menu system looked like this

-Home
-Manage Employees
---Add New Employee
---Edit Existing Employee
---View Employee
-Department
---Department Overviews
-----Employee Counts
-----Project Counts
---Add New Department
---Edit Existing Department
---View Department

A single - means a "root level" node. --- is a sublevel of - . and -----
is a sublevel of ---

Here are the root nodes:
Home
Manage Employees
Department


What I would like to have is when I click on Manage Employees, I would see
this:
-Home
-Manage Employees
---Add New Employee
---Edit Existing Employee
---View Employee
-Department


and when I click on Department

-Home
-Manage Employees (auto rolled up)
-Department
---Department Overviews
-----Employee Counts
-----Project Counts
---Add New Department
---Edit Existing Department
---View Department


Aka, when I pick 1 of the root levels, I see all its children, but any
children under another node will be hidden.


Ok, you're thinking "that's how it works".

Well, if I pick/expand and open Add Employee, and THEN go to Department, the
Add Employee (and siblings) are still expanded.
I'd like all the Employee stuff to collapse automatically when "Department"
is chosen.


I haven't done menus in about 8 months, so maybe its a property somewhere or
maybe some


This is kinda the look (from Scott Gu's site above)

http://www.scottgu.com/BlogPosts/data2/step1.png

I guess I'm asking if anybody knows of an implementation before I start
coding one up.


THANKS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top