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

Contextmenu clicked not firing

1 Answer 56 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 24 Nov 2010, 10:13 AM
I have a Radtreeview that is filled on demand. The treeview contains 3 level and each has a category and has a different context menu added to it.

Everything works as how it is supposed except when try to click a context menu on any node while a node on the third tier is selected. The context menu shows fine but when clicking the menu the Contextmenuclicked event does not even fire!
How can I solve this?

1 Answer, 1 is accepted

Sort by
0
Martin
Top achievements
Rank 1
answered on 24 Nov 2010, 11:09 AM
I have solved the issue. Found a javascript error when loading the usercontrol when the third tier was clicked.

The reason for the javascript error was that the usercontrol used visible=false on a div that contained telerik components. When I changed this to style="display:none" it solved the javascript error which also made the oncontextmenuclicked event to fire.
Tags
TreeView
Asked by
Martin
Top achievements
Rank 1
Answers by
Martin
Top achievements
Rank 1
Share this question
or