Search Support

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.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

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

  • 1 valiny
  • 1 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i 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.

All Replies (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.