Context menu in Silverlight gets blocked in Firefox with Silverlight context menu popping up
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.
Alla svar (1)
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.