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

[Solved] More Context Menu Problems

2 Answers 144 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
rdochert
Top achievements
Rank 1
rdochert asked on 20 Jan 2008, 10:52 AM
Hi
i've searched the forums and it seems a few people are having problems with the context menu on the prometheus version of RadTreeView. I have downloaded the latest hotfix (forum: http://www.telerik.com/community/forums/thread/b311D-bbkeda.aspx) but it has not solved my problem. Basically, i have a data bound treeview with four context menus defined in the aspx. each context menu has an ID. in the code behind, i hook the NodeDataBound event and specify node.ContextMenuID but nothing happens when i right click in the browser. i also tried setting node.EnableContextMenu = True. Still nothing.

An online example would certainly help. The only example available uses the client side API for the most part.
Cheers,
rob

2 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 22 Jan 2008, 04:07 PM
Hi rdochert,

Please, find attached a small sample demonstrating the assignment of ContextMenuID to the RadTreeNodes in the NodeDataBound event.

Let me know if that helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
rdochert
Top achievements
Rank 1
answered on 23 Jan 2008, 08:09 PM
Many thanks - that was exactly what i needed to identify the problem.
rob
Tags
TreeView
Asked by
rdochert
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
rdochert
Top achievements
Rank 1
Share this question
or