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

How to handle export pdf event in RadGrid

1 Answer 222 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nguyen
Top achievements
Rank 1
Nguyen asked on 01 Mar 2016, 01:57 AM

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

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 Mar 2016, 02:23 PM
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
Tags
Grid
Asked by
Nguyen
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or