Welcome Guest Search | Active Topics | Sign In | Register

new window event to open a pdf link in new window Options
Jesus Dominguez
Posted: Thursday, December 6, 2018 5:32:23 AM
Rank: Newbie
Groups: Member

Joined: 10/31/2018
Posts: 2
Hi,
I have been reading the documentation and forum on handling new window events but I still have doubts. My case is as follow: I have some clinical forms which are shown using webControl and webView, some of them have clickable links to remote pdf files and when activated, the new window event is called. I have created and added a function to deal with this event but, although the function is called when clicking on the link of the form, I have been unable to make the pdf pop up in a new window and give it focus. Could you please provide me with some basic coding to do this? Thank you.
eo_support
Posted: Thursday, December 6, 2018 10:38:34 AM
Rank: Administration
Groups: Administration

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

You can try to open the same page with our TabbedBrowser sample application and see if it opens up (in a new tab) correctly. If that opens correctly, then you can take a look of the source code of the TabbedBrowser sample to see how it works. All you need to do is to replace the code that creates a new tab with code that creates a new popup window --- this part has to do with your application and it does not have anything to do with the WebControl/WebView.

If the TabbedBrowser sample application doesn't work either, you can try to isolate the problem into a small test application and send the test application to us. See here for more information on how to send test application to us:

https://www.essentialobjects.com/forum/test_project.aspx

We will look into it as soon as we have that.

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.