How to handle export pdf event in RadGrid

2 posts, 0 answers
  1. Nguyen
    Nguyen avatar
    1 posts
    Member since:
    Oct 2015

    Posted 29 Feb Link to this post

    Hi

    I have a issue that, I show popup and using window.timeOut to bind data to Radgrid and then it will auto export grid to pdf file but I can't auto close popup when radgrid finish exporting. So how to know that when radgrid finish exporting pdf file

    Best Regard

    Nguyen

    Sorry, because my english is not good

  2. Eyup
    Admin
    Eyup avatar
    3014 posts

    Posted 01 Mar Link to this post

    Hello Nguyen,

    Generally, you can subscribe to the ItemCommand event which is raised when the export command is initiated. But in your case you can check the OnPdfExporting event handler:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/exporting/export-formats/pdf-export#onpdfexporting-event

    It is not possible to know when the browser finishes downloading the PDF file itself.

    Regards,
    Eyup
    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