搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Context menu in Silverlight gets blocked in Firefox with Silverlight context menu popping up

more options

We have a security application which uses Silverlight. We prefer using FIrefox over IE as Firefox does it faster. When we right click part of our application in IE the Silverlight default context menu is automatically blocked from opening. In Firefox that is not the case. As a result we get an exception thrown: Element is already the child of another element.

Doing a quick search someone said to catch the right click even in the main page and set the context to Handled. However it did not help in today's browsers and I now have the handling occuring at several locations within our main page structure. No matter what we cannot stop it from coming up and killing our context menu.

Any suggestions would be appreciated.

We have a security application which uses Silverlight. We prefer using FIrefox over IE as Firefox does it faster. When we right click part of our application in IE the Silverlight default context menu is automatically blocked from opening. In Firefox that is not the case. As a result we get an exception thrown: Element is already the child of another element. Doing a quick search someone said to catch the right click even in the main page and set the context to Handled. However it did not help in today's browsers and I now have the handling occuring at several locations within our main page structure. No matter what we cannot stop it from coming up and killing our context menu. Any suggestions would be appreciated.

所有回复 (1)

more options

So you are creating an application on a website and you want to stop the Firefox context menu from appearing?

You can check out how to disable the context menu in the Mozilla Developer Network page.

It hope this helps.