Hi,

On Fri, Oct 12, 2012 at 10:35 AM, mlabs <[email protected]> wrote:

> So what I'm trying to do must surely be a common thing... yet so far I have
> had no luck getting it to work.
> I'm generating big PDF's on the server .. and in the browser I have a link
> that should initiate that generation and bring up a file 'save-as' dialog
> when the PDF is ready to be downloaded. While the generation phase is going
> on, I want to use jQuery.blockUI to stop the user from doing anything else
> in the app.
>
>
1-AJAX start PDF generation, on a different thread and retunr script to
block UI, plus AJAX timer that will poll the server for PDF generation
status.
2-Once PDF generation is finished, AJAX timer will unblock the UI and
trigger AJAX download (and disable timer).

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com

Reply via email to