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

Report View Export function

3 Answers 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin Fu
Top achievements
Rank 1
Kevin Fu asked on 22 Dec 2009, 11:18 PM
How could I invoke Export button event handler programmaticlly? I need to doing something when user click the export button in the report viewer bar. Could I do it on the server side?

thanks alot
Kevin

3 Answers, 1 is accepted

Sort by
0
Milen | Product Manager @DX
Telerik team
answered on 23 Dec 2009, 02:58 PM
Hello Kevin Fu,

Such events are not implemented for the web viewer and this is be design. The web viewer does not invoke the rendering process (neither the refresh, nor the export actions), but it is a host for a http handler which does the job. No postback is done to the page containing the viewer, which makes the adding of events impossible.

So, unfortunately the answer is no, you cannot perform any custom action when the user clicks the Export button.
 

Best wishes,
Milen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Tor Sigve Taksdal
Top achievements
Rank 1
answered on 19 Apr 2011, 05:09 PM
Is this still valid for Q1-2011?
0
Steve
Telerik team
answered on 20 Apr 2011, 09:42 AM
Hello Tor Sigve Taksdal,

Yes, this is still valid. A possible way to handle such scenario is hiding the report viewer toolbar and implement your own UI which would handle the export functionality. Check the following article for more info: Exporting Report Programmatically.

Best wishes,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Kevin Fu
Top achievements
Rank 1
Answers by
Milen | Product Manager @DX
Telerik team
Tor Sigve Taksdal
Top achievements
Rank 1
Steve
Telerik team
Share this question
or