Hello everyone, I have encountered two problems when using the web browser control. Any suggestions are welcome, thanks in advance
My system version: windows 7 sp1
IE browser version: 11.0
1. I have set: prohibit display of script errors, but when opening some pages, still prompt script error
2. In the web browser control, the displayed content is very different from the content displayed by the real IE browser. For example, some content is not displayed, and the flash content cannot be displayed.
I recorded an animated GIF demo, please see the image below, In addition
Web browser control prompts script error, does not display content
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Web browser control prompts script error, does not display content
Last edited by winsoft on Wed Jun 05, 2019 8:30 pm, edited 1 time in total.
Re: Web browser control prompts script error, does not display content
Sorry but we do not read Chinese.
Web site errors cannot be suppressed in a web browser control. We can only address script errors.
Web site errors cannot be suppressed in a web browser control. We can only address script errors.
Re: Web browser control prompts script error, does not display content
Not just Chinese pages, many pages can't load properly
Now I have solved this problem with an external control.
Anyway, thank you very much for your reply.
Now I have solved this problem with an external control.
Anyway, thank you very much for your reply.
Re: Web browser control prompts script error, does not display content
FYI, we released a code snippet (shortcut: setWebBrowserEmulation) that sets the emulation mode of the WebBrowser control (host dependent / running executable). This can help with compatibility in some cases.
https://www.sapien.com/blog/2019/03/06/ ... -v5-6-160/
https://www.sapien.com/blog/2019/03/06/ ... -v5-6-160/
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Web browser control prompts script error, does not display content
@David
Hello, I just saw the reply message, thank you for your reminder.
Content can be loaded, but the navigation buttons below the page are not available
Can you help me verify and solve this problem? thank you very much
test link:
http://fs.focusky.com.cn/zsaxp/lxvh/index.html?html5
Hello, I just saw the reply message, thank you for your reminder.
Content can be loaded, but the navigation buttons below the page are not available
Can you help me verify and solve this problem? thank you very much
test link:
http://fs.focusky.com.cn/zsaxp/lxvh/index.html?html5
- Attachments
-
- err.png (308.64 KiB) Viewed 3517 times
Re: Web browser control prompts script error, does not display content
The WebBrowser control doesn't always work well with advanced web features. If the snippet doesn't work for you, then I recommend either opening the page with an external browser or possible looking for a third-party control.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.