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

TreeView and ContextMenu

1 Answer 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 31 May 2009, 07:39 PM
I have created a TreeView with a contextMenu. The contextMenu is not shown when I press the right mouse button. I took the following example as a template for my code:

http://demos.telerik.com/silverlight/#TreeView/AddRemoveDisable

By the way: I see nothing in the code where the actual ContextMenu is shown. Something like ContextMenu.Show()

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 01 Jun 2009, 11:04 AM

Hi Marcel,

You need to set the Silverlight plug-in in windowless mode:
- In your aspx, you should set:
<asp:Silverlight Windowless="true" runat="server" ...  

- If you are using HTML object, you should add this parameter:
<param name="windowless" value="true" /> 

Please, check this blog post, that might be helpful:
http://blogs.telerik.com/valerihristov/posts/09-06-01/reusing_and_customizing_a_single_contextmenu_on_a_treeview_with_radcontrols_for_silverlight.aspx

Sincerely yours,

Valeri Hristov
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
General Discussions
Asked by
Marcel
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or