Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web app generates a PDF. How to show it to user
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00478375
Message ID:
00478406
Vues:
19
>I have a FoxWeb application that generates a pdf document from a FoxPro report. The pdf gets generated ok, but I always have to use an intermediate page that has:
>
>< A HREF="/pdfs/#Url.PdfFileName#">Web Query Report PDF Image < /A>
>
>So the user then has to click on the HREF link to then bring up the Adobe acrobat viewer in their web browser.
>
>Is there a way to get rid of the intermediate step and to just tell the browser to open up the PDF?
>Or am I asking too much?

Pointing Browser to a PDF file will open that file. Trick is after back-end finisnes PDF creation it will send a page with script to open a new window with location like "http://yourwebsite/pdffilename.pdf". That will open that file in that window automatically.
Mark
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform