|
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
|
|
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.aspxHope this helps. Please let us know if you still have more questions. Thanks!
|
|
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
|
|
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!
|
|
Rank: Newbie Groups: Member
Joined: 6/22/2014 Posts: 6
|
OK
|
|