PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Displaying PDF in Browser
Displaying PDF in Browser
Iniciado por Clive, abr., 12 2017 7:24 PM - 3 respostas
Publicado em abril, 12 2017 - 7:24 PM
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
Publicado em abril, 13 2017 - 1:18 PM
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
Publicado em abril, 26 2017 - 9:58 AM
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
Publicado em abril, 26 2017 - 1:24 PM
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