You can get a solution using one or more of the languages, but such question makes no sense at all, as the answer can be really unusable in practice. I cannot see that you know what do you want, and this would highly discourage giving you a solution.
This is because some languages can work only on server side only, some on client side only, and Silverlight is a very different platform. If you don't care, it means you don't have a real practical need in answer (school assignment or what?).
I would suggest to avoid answering a question when the answer could not be used. I would be glad if you prove me wrong though, but then you need to explain.
[EDIT]
I'm glad to hear that I was probably wrong about you and you've mastered a good bunch of languages and technologies. Still, the fact that you don't even express any preferences on which side you want to implement things, client or server, makes me doubt.
As I say, single-level tree view is a list view or a list box. So, you still can use
TreeView
, see but a simple
ListBox
will be good enough, too:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listbox.aspx[
^].
On client side, I think the maximum flexibility can be obtained with jQuery plug-in solutions. You can find a number of implementations of both tree views and menus. They are usually multi-level, of course, you will just use one level until you need more :-). Please see:
http://docs.jquery.com/Plugins/Treeview[
^],
http://www.google.com/url?sa=t&rct=j&q=jQuery+%28menu+OR+treeview%29&source=web&cd=8&ved=0CHMQFjAH&url=http%3A%2F%2Fwww.programmingsolution.net%2Fuseful-js%2Fjquery-treeview.php&ei=kFrZTojlLcPq0gG564nxDQ&usg=AFQjCNEWQjhHsRU6WF44cDShNtcsPArInw[
^],
http://plugins.jquery.com/plugin-tags/jquery-menu[
^],
http://designm.ag/resources/26-useful-jquery-navigation-menu-tutorials/[
^],
http://speckyboy.com/2010/12/01/15-super-simple-jquery-menu-and-navigation-plugins/[
^],
http://www.tripwiremagazine.com/2011/03/40-jquery-menu-plugins-and-tutorials-for-better-navigation.html[
^].
You can find a log more:
http://en.lmgtfy.com/?q=jQuery+(menu+OR+treeview)[
^].
Good luck,
—SA