Web Browser Control silverlight InvokeScript Error

I run the OOB silverlight application where I have a control WebBrowser, but I get this error when I call InvokeScript: -

Attempted to perform an unauthorized operation.

Is it because he is OOB?

+3
source share
1 answer

No, this cannot be, because WebBrowseronly OOB works with its OOB. I can think of two possible reasons.

  • The URL to which the web browser was moved is not on the same site from which the Silverlight application was downloaded. This will result in a security breach.

  • , - InvokeScript, .

+2

Source: https://habr.com/ru/post/1756548/


All Articles