Search code examples
c#.netwinformswebbrowser-control

Disable JavaScript error in WebBrowser control


I am developing a windows application with a WebBrowser control that navigates to a sharepoint site.
My problem is that i am getting JavaScript error.

How can i disable the JavaScript error? I don't want them to pop up.


Solution

  • webBrowser.ScriptErrorsSuppressed = true;