最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论