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
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.
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