admin管理员组

文章数量:1391766

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?

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?

Share Improve this question asked Mar 28, 2014 at 9:39 mansmans 18.2k54 gold badges198 silver badges347 bronze badges 1
  • possible duplicate of C# webbrowser Ajax call – noseratio Commented Mar 29, 2014 at 3:41
Add a ment  | 

1 Answer 1

Reset to default 5

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./posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version

本文标签: cWhy wpf webbrowser generate script errorStack Overflow