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. 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!