Check that ClientExportManager has completed

2 posts, 0 answers
  1. Tony
    Tony avatar
    2 posts
    Member since:
    May 2013

    Posted 30 Jun 2015 Link to this post

    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?

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 01 Jul 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top