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

[Solved] Issues with context menu on tree view

1 Answer 130 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ashish Vyas
Top achievements
Rank 1
Ashish Vyas asked on 11 Mar 2008, 09:01 PM
I am using the tree view control with context menu associated with nodes. I have observed this strange event generation behavior of context menus and I was hoping if anyone can help me resolve this issue. Following are the repro steps/observations:

1. Associate a context menu to different nodes of a tree view control. The menu has a couple of menu items.
2. Right click on a node. The context menu shows up. Don't select or hover over any menu item.
3. Right click on another node. The context menu shows up again as expected. Now click on any menu item. No events are generated.

I have a MenuItemClick handler on the server side as well as OnClinetContextMenuItemClicked handler set on the tree. None of these handlers are invoked in this particular scenario. I would have expected that right clicking a node and selecting one of its context menu item should always generate event irrespective of what I had done in the preceding steps.

We are stuck with this issue in our implementation and I was hoping if someone can please help me with this.

Thanks!


1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 12 Mar 2008, 12:35 PM
Hi Ashish Vyas,

Thank you for reporting that. Indeed, it is a bug in the RadTreeView ContextMenu behavior. We already fixed it. Please, open a formal support ticket if you need the latest internal build.

P.S. Your Telerik account was updated.

Best,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Ashish Vyas
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or