Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why wpf webbrowser generate script error?

I have a site that I am trying to navigate to using wpf webbrowser. When I navigate to it, I am getting script error, but if I navigate to the same page using IE (11) on the same pc, I am not getting any error.

I supressed the script error on web browser, but then some functionality of the web site is not available when I am accessing it from wpf webbrowser.

My questions is:

Why wpf webbrowser generate script error, when IE accesses it without any error?

Is there any free alternative to webbrowser that I can use which has not this problem?

like image 262
mans Avatar asked Oct 25 '25 05:10

mans


1 Answers

The WebBrowser control use an older version of IE.

You need to specify the IE version you want. Take a look at this : http://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version

like image 68
Floc Avatar answered Oct 26 '25 17:10

Floc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!