Development Experience

Friday, December 2, 2011

Stop Script Error Popup In WebBrowser Control

Script Error Popup in WebBrowser control is very bad for users and also for developers.

To stop JavaScript script error popup in your windows forms application
you should use

webBrowser1.ScriptErrorsSuppressed = true ; // no popup will appear

With this code line Script Error Popup will be suppressed :)



No comments:

Post a Comment