Debug script block for wpf browser control

I used a browser control for my WPF browser. I want to disable the script error message. Please let me know for sure as I am very new to this application. Thanks in advance.

Answer otherwise than disabling the script message in the internet options pre-tab.

+1


a source to share


1 answer


The problem here is that WPF WebBrowser

did not implement this property as it did in control 2.0.

Best to use WindowsFormsHost

in your WPF application and use the 2.0 WebBrowser

: property SuppressScriptErrors

. Even then, you'll need a full trust app to do this.



Not that perfect, but it is pretty much the only option at the moment.

+1


a source







All Articles