views:

40

answers:

1

is any menu like treeview (open\hide each node), but after postback it restore the state ?

+1  A: 

You can use the jquery treeview plugin, here is the demo of that.

Update based on comments:

You can add styling like this. Create a stylesheet file like whatever.css and include in page where the treeview is used. Put this code in that stylesheet.

<style type="text/css">
.file,.folder
{
  font-family: 'Arial Black';
}
</style>
Sarfraz
how can i set custom font on all menu items like Arial Black there?
kusanagi
@kusanagi: You will have to add some class to your elements and then apply css styles to that.
Sarfraz
i don't well know how to work with css foe example how to add special class for node fonts
kusanagi
@kusanagi: please see my updated answer.
Sarfraz