Navigation controls

  • Thread starter Thread starter McGeeky
  • Start date Start date
M

McGeeky

Hi. I am after a site navigation control that works as follows:

A list of menu items displayed vertically. Each menu item can have child
menu items. Only the currently select top level menu item will have its
children menu items display.

E.g. The menu below shows the <About Us> menu item is selected. So its two
children are shown.

<About Us>
What we do
How to find us
Services
Contact Us

When the <Services> menu item is selected <About Us> collapses and
<Services> expands.

About Us
<Services>
Software Development
Support
Contact Us

I want to be able to configure the component to do this without having to
resort to programming. I took at the ASP.Net tree navigation control but it
doesn't seem to work exactly as I need it to. This site's menu is exactly
what I am after: http://www.sncwd.org.uk/default.asp

Thanks
 
I can almost achieve want I want with a SiteMapDataSource, TreeView and CSS-
but not quite, and its frustrating!

The TreeView has various options for assigning CSS styles to the nodes in
the tree. If I could just get it to assign a given CSS style to the root
node of the currently open branch then I can collapse all the other branches
via CSS but keep the selected branch visible.

Is there a programmatic way to customise the TreeView to do that?
 
Back
Top