c# - Why wpf webbrowser generate script error? - Stack Overflow

I have a site that I am trying to navigate to using wpf webbrowser. When I navigate to it, I am getting

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744770955a4592754.html

相关推荐

  • c# - Why wpf webbrowser generate script error? - Stack Overflow

    I have a site that I am trying to navigate to using wpf webbrowser. When I navigate to it, I am getting

    5小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信