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

How to get Export type

2 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cheryl
Top achievements
Rank 1
Cheryl asked on 06 Aug 2012, 02:20 AM
Hello

Is there a way to programmatically find out the export type selected in the Export Group?

Thanks


2 Answers, 1 is accepted

Sort by
0
Testuser
Top achievements
Rank 1
answered on 06 Aug 2012, 09:23 AM
To get the export type, use in the code-file the ReportViewer-event: "Export". There you can see the export type at the event-arguments "e".
0
Cheryl
Top achievements
Rank 1
answered on 06 Aug 2012, 11:27 PM
Am I right in thinking that the only way to do that would be when the Export button is pushed?

I was hoping to be able to access it via a non-report viewer button.  I am adding an Email To section so I can email the report out, and was hoping to be able to use the Export format dpd to specify the format the report should be emailed, but on reflection i think this might be a little confusing to the end user.

Thanks for your reply.
Tags
General Discussions
Asked by
Cheryl
Top achievements
Rank 1
Answers by
Testuser
Top achievements
Rank 1
Cheryl
Top achievements
Rank 1
Share this question
or