NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 19, 2021, 05:07:24 AM

Title: Progress bar generating report to be a PDF
Post by: Alberto on April 19, 2021, 05:07:24 AM
Hi, Im having a proceess which generates a report showing a progress bar.
Problem is that when it saves the report as PDF the progress bar is 99% but the PDF is not still generated, with many pages the user thinks its hanged.
Any way of make it better?
see pic
Thanks
Title: Re: Progress bar generating report to be a PDF
Post by: Bruce on April 19, 2021, 10:35:08 PM
Unfortunately no, although technically it depends a bit on the PDF converter engine you are using.

In all the engines, by default, there's no way to update a progress bar during the conversion process. To make that happen you would need to change code inside the engine itself - which is possible in some cases, but obviously then you'd need to do it after each engine upgrade.

Cheers
Bruce
Title: Re: Progress bar generating report to be a PDF
Post by: Alberto on April 20, 2021, 04:10:21 AM
I understand.
any way of display a "Converting, please wait..." till the convertion is done?
how to know when the convertion is done?
Title: Re: Progress bar generating report to be a PDF
Post by: Bruce on April 20, 2021, 08:31:29 PM
when the conversion is done, the progress bar will move to 100% and the normal click-here, or download, or whatever will occur.

You can of course use a Display field to display any message to the user that you like.

Cheers
Bruce