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

RadTreeView and RadDropDownMenu not appering as wanted

3 Answers 50 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Jill-Connie Lorentsen
Top achievements
Rank 1
Jill-Connie Lorentsen asked on 17 Feb 2009, 01:55 PM
I use RadTreeView, and a RadDropDownMenu assosiated with it.

I would like the drop down menu NOT to be shown for nodes at level 0, but I haven't figured out how to do this. Any ideas?

Also, the drop down menu appears if I right click to the right of the nodes in the tree view. Is there a way to check whether the user has clicked on the actual node?

Thank you!

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 20 Feb 2009, 02:43 PM
Hi Jill-Connie Lorentsen,

Thank you for writing.

There is a really easy way to accomplish this. I have attached a small sample application to demonstrate that. In short, there is a bool flag that tells whether the drop down should be shown or not. The flag depends on whether the mouse is over a node.

I hope you will like the solution. Please write back if you have other questions.

Kind regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jill-Connie Lorentsen
Top achievements
Rank 1
answered on 23 Feb 2009, 10:13 AM
Thank you for your reply and the sample application.

This only solved one of my problems, though. Still the drop down menu appears when the user clicks to the right of the node. Is there a way to check whether the user has clicked an actual node? It seems like the node fills the entire width of the RadTreeView, and not only the part of the text, if you understand what I mean.

Regards, Jill-Connie
0
Victor
Telerik team
answered on 23 Feb 2009, 02:01 PM
Hello Jill-Connie Lorentsen,

Thank you for writing. I have attached another application. I think that everything works now. Please write back if you need further assistance.

Regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Treeview
Asked by
Jill-Connie Lorentsen
Top achievements
Rank 1
Answers by
Victor
Telerik team
Jill-Connie Lorentsen
Top achievements
Rank 1
Share this question
or