This is a migrated thread and some comments may be shown as answers.

Use Menu like (Slide/Drawer)

3 Answers 73 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Armin
Top achievements
Rank 1
Armin asked on 18 Sep 2011, 11:45 AM
Hi every one.
I use rad menu in my project. i need that menu items Be (Open to Click), and when i click on one of root items, Child items open between Root items in same layer.
I mean root items move like Drawer and Child items of one of them(That i clicked), come between them, till i click on another root item. so if i click another one, this drawer closed and another drawer open between root items.

Is there any suggestion?
Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Armin
Top achievements
Rank 1
answered on 19 Sep 2011, 07:38 AM
Hi, also this idea is good.
One TreeView that i can click on Node for see childs, not + Next to Items for expanding,Just One Click on Node For expanding and see child Nodes and Again One click on node for closing child tree. And hide + Next to Nodes.
Thanks in advance.
0
Accepted
Kevin
Top achievements
Rank 2
answered on 22 Sep 2011, 03:35 PM
Hello Armin,

To answer you first question, you should the RadPanelBar control as that works like a slide/drawer.

To answer your second question, to expand/collapse a node in the RadTreeView, you can handle the OnClientNodeClicked event and toggle the expand/collapse of the node being clicked. Like so:

function tvMyReports_OnClientNodeClicked(sender, args) {
                var node = args.get_node();
                node.toggle();
}

I hope that helps.
0
Armin
Top achievements
Rank 1
answered on 25 Sep 2011, 08:30 AM
Hi Kevin.
Thank u so much. i tried radpanel and it worked.
Tags
Menu
Asked by
Armin
Top achievements
Rank 1
Answers by
Armin
Top achievements
Rank 1
Kevin
Top achievements
Rank 2
Share this question
or