Disable JavaScript error in WebBrowser control

Gaby picture Gaby · Mar 19, 2010 · Viewed 136.1k times · Source

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.

Answer

Matt Jacobsen picture Matt Jacobsen · Mar 19, 2010
webBrowser.ScriptErrorsSuppressed = true;