This is a migrated thread and some comments may be shown as answers.

Check that ClientExportManager has completed

1 Answer 68 Views
ClientExportManager
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 30 Jun 2015, 01:44 PM

Hi.

I have a page that exports an Org Chart to PDF, that works perfectly. However, it can take a couple of seconds for the export to happen. What I'd like to do is disable my export button when clicked until the PDF has been rendered and delivered to the browser, then re-enable the button.

Is there any way I can check to see if the ClientExportManager has completed the export to PDF task?

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 01 Jul 2015, 01:56 PM
Hi Tony,

The RadClientExportManager exposes the OnClientPdfExporting (http://docs.telerik.com/devtools/aspnet-ajax/controls/clientexportmanager/client-side-programming/events/pdfexporting) and the OnClientPdfExported (http://docs.telerik.com/devtools/aspnet-ajax/controls/clientexportmanager/client-side-programming/events/pdfexported) events, so to be able to identify when exporting has begun and finished.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ClientExportManager
Asked by
Tony
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or