PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 22 → Displaying PDF in Browser
Displaying PDF in Browser
Débuté par Clive, 12 avr. 2017 19:24 - 3 réponses
//hostimage.webdev.info/avatars/default.gif
Posté le 12 avril 2017 - 19:24
Apologies if this topic has already been covered. I have a website developed with Webdev. I need to display a external pdf file in the browser window. Can someone advise which is the best method of doing this?

Thanks in advance
Clive
//hostimage.webdev.info/avatars/default.gif
Posté le 13 avril 2017 - 13:18
Hi Clive,

you need to use "filedisplay"

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 4/12/2017 à 11:24 AM, Clive a écrit :
Apologies if this topic has already been covered. I have a website
developed with Webdev. I need to display a external pdf file in the
browser window. Can someone advise which is the best method of doing this?

Thanks in advance
Clive
//hostimage.webdev.info/avatars/default.gif
Posté le 26 avril 2017 - 09:58
I hope it's ok to ask in this thread.

Any chance to display the PDF in a new tab? I'd need a solution which works in server code, as the other code of this function runs there. I know the "target" parameter works in browser code, but maybe there's an other solution?

thanks
//hostimage.webdev.info/avatars/default.gif
Posté le 26 avril 2017 - 13:24
Hi Alan,

Any chance to display the PDF in a new tab? I'd need a solution which
works in server code, as the other code of this function runs there. I
know the "target" parameter works in browser code, but maybe there's an
other solution?


Your server code STARTS in browser code.
So in the browser side of your code (if your code is in a button, in the
browser click), you can change the destination. The server side will
follow...

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


> thanks