Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.