help can I stop wpf webbrowser popups?
Does anyone know how to stop a popup from happening when using a webbrowser control w开发者_如何学编程ithin a WPF application ?
Unfortunately there is no good way to archive this right now. This is a good feedback. We will add it to the list of things to provide for the WebBrowser control in the future release.
Source:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/4d4fa88e-b8c8-4190-8153-db923ed0e24e/
You could simply select the WindowsFormsHost control, go inside the Constructor and set the ScriptErrorsSuppressed property to true for Blocking Pop ups .
精彩评论