Welcome Guest Search | Active Topics | Sign In | Register

How to trap a frame error Options
penright
Posted: Friday, November 3, 2017 8:35:58 AM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 43
This may not be throwing a page frame error.
I am just guessing, but somehow IE handles this different than Chrome.

Obviously the URL does not like being loaded into a frame and IE captures the URL and gives you a chance to load it in a new window.
Is there a way to catch that?

Screen shot of IE next to Chrome
eo_support
Posted: Friday, November 3, 2017 1:25:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

EO.WebBrowser does not provide anything particular for you to trap such errors. You can search online on how to trap such errors (with JavaScript in your main frame) and then inject the corresponding JavaScript code into the page through WebView.JSInitCode property (note that WebView.JSInitCode is injected into child frames as well).

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.