ContextMenu not working in Safari

This post has 2 replies

Not Ranked
Posts: 1
tfmillet Posted: Tue Jun 23, 2009 @ 7:55 AM
We are looking at using your suite for an upcoming project. We are particularly interested in the DragDrop and ContextMenu controls.

One requirement is that we work well in IE, Firefox and Safari.

I have tried your online demos in all 3 browsers, and they seem to work well. However, the ContextMenu demo does not work in Safari. Is this a known issue? If so, are there plans to have a working version for Safari?
Top 100 Contributor
Posts: 52
jrodgers Posted: Wed Jun 24, 2009 @ 9:38 AM
Hi,
ContextMenu relies on Windowless mode, Safari sadly does not implement the Windowless mode for the Silverlight plug-in, Google Chrome which is also based on WebKit does implement it and it works fine.

In order to support Safari you need to decide how to trigger the ContextMenu, some common options are Apple + left-click or Shift + left-click. You can set the ContextMenu to DetectRightClick="False" and ContextType="Custom" then use the ShowContextMenu(point) to display it.

Currently this functionality is not built-in to the control but is fairly easy to implement.

Jeremy
Top 100 Contributor
Posts: 52
jrodgers Posted: Mon Nov 16, 2009 @ 1:01 PM

Hi,

I have just tested this with Safari (Windows) version 4.0 (530.17) and have verified that ContextMenu is working.  Make sure to set the Windowless paramter to true in the Silverlight object.

Page 1 of 1 (3 items)