multi-level side menu

C

CW

I have been using (vertical) data list to simulate menus on left pane of
pages (I don't use drop-down and pull-down menus because javascript must be
enabled). However, the problem with data list is that I can only have 1
level of menus. Is there anyway to get multi-level menu? The idea is that
when one clicks on one menu item, it would expand and reveal sub-menus (if
exists). Clicking at an expanded parent level menu would collapse all
sub-menus. I could use treeview control to achieve that effect. However, it
is firstly not a pure asp.net control, and secondly quite slow (involving
many hits to the server instead one), and thirdly require deployment
configuration (must deploy tree control files at root level of IIS), and
fourthly, still requires javascript.

Is there any other options? Such as dynamically and recursively adding data
list within a data list on the run? I would appreciate some pointers and
some sample code.

Thanks in advance
 

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

Top