Building and displaying a menu - unordered list

This is classis asp.net 4 application, not an mvc application. I need advice setting up the navigation…

I already have navigatyion as List<T> nodes (name, description, url)

Some nodes may have child nodes (only one level) and show on mouse over.

I have the css and js in place and working great with static test navigation. I need advice about

  1. Should i use a menu control or a nested repeater control. The nested one is for the child item?
  2. I need to apply a class to parent ul and to parent li that has a child ul.
  3. I need to apply a “select” class to the parent li to show it as a selected node if the page showing is the same or is from under child nodes.

I need a kick in the right direction.

A sister application is in mvc, should i call an action that returns a partial view? Both are under the same domain…
Thanks

I used a nested ListView for this very purpose. My computer is down though and I don’t have access to the files for a few days.

Use the menu controller and bind the data to your data source

For classic, I would use a repeater at most – no need to do anything more than write the list. We actually used XSLT back when we were doing web forms – it was cleaner and quicker and made it easier to handle infinite nesting.