开发者

Specifying a default export format for the CrystalReportViewer [duplicate]

开发者 https://www.devze.com 2022-12-20 20:07 出处:网络
This question already has an answer here: Closed 12 years ago. Possible Duplicate: How do I make PDF the default export option for a Crystal Report?
This question already has an answer here: Closed 12 years ago.

Possible Duplicate:

How do I make PDF the default export option for a Crystal Report?

There appears to have been a change in behaviour between versions of the viewer that have changed the default from PDF to the virtually useless (in our scenario) native Crystal Reports forma开发者_StackOverflow中文版t.

Is it possible to specify the default file type to use when the end user clicks the export button in the winforms CrystalReportViewer?


Unfortunately you can't.

I solved it by disabling the Export button and creating a menu option "Export to PDF" that calls one of the Export methods of the Report object.

0

精彩评论

暂无评论...
验证码 换一张
取 消