Welcome Guest Search | Active Topics | Sign In | Register

Open New Window in default browser Options
Arie
Posted: Thursday, June 26, 2014 12:25:17 PM
Rank: Newbie
Groups: Member

Joined: 6/22/2014
Posts: 6
Dear support,

I'm testing the EO.WebBrowser.

In some cases I want the new window to be opened in a user default Web Browser.
I receive the following message from EO.WebBrowser: "The current page tries to open a new window. Please handle NewWindow event.".

How should I handle this event in the above case?

Thanks,
Arie
eo_support
Posted: Thursday, June 26, 2014 5:19:27 PM
Rank: Administration
Groups: Administration

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

Please take a look of the source code of the TabbedBrowser sample project. The sample handles many WebView's event.

You can also find more information about this NewWindow event here:

http://www.essentialobjects.com/doc/6/advanced/new_window.aspx

Hope this helps. Please let us know if you still have more questions.

Thanks!
Arie
Posted: Friday, June 27, 2014 4:54:00 AM
Rank: Newbie
Groups: Member

Joined: 6/22/2014
Posts: 6
Thanks,

Surely, I have read this topic and the project. They do not cover the case when the new window should be opened OUTSIDE the EO.WebBrowser, in a user default Web Browser (e.g. IE). I can do it by calling System.Diagnostics.Process.Start(e.TargetUrl), but thought you have your own means for this.

Arie
eo_support
Posted: Friday, June 27, 2014 7:29:54 AM
Rank: Administration
Groups: Administration

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

No. Opening a new window outside of EO.WebBrowser does not have anything to do with EO.WebBrowser. We pass you the Url and that's it.

Thanks!
Arie
Posted: Friday, June 27, 2014 10:35:37 AM
Rank: Newbie
Groups: Member

Joined: 6/22/2014
Posts: 6
OK


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.