Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Wesley Branton

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.