Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

when using the showexportotton in CR 11 can i restict the type of report it will save to .prf only

I have cr 11
CS 8
sql 2005

I have the crystalreport viewer class in my form, When I display a report and have the showexportbutton to true is there a way in the dropdown to select the file type to  only allow .pdf?
0
john M
Asked:
john M
1 Solution
 
mlmccCommented:
Not fully responsice to the question.

Crystal determines the values in the drop down by the export dlls it finds.  If you only want PDF then you simply ensure the only CRXF_xxx.dll file installed on the client is CRXF_PDF.DLL

mlmcc
0
 
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
You can also customize the toolbar to hide the standard export button, show your own export button, and take control over the whole process.  That is what I implemented with my own viewer and it also allows you to remember the export type, path, and file name for each previously exported report.
0
 
john MAuthor Commented:
Thanks
0
 
mlmccCommented:
How does that answer the issue of restricting the list in the dropdown to PDF?

There are 2 ways to restrict the list
1.  Limit the export dlls on the machine
2.  Suppress the export button and replace it with one of your own that only has PDF as the option.

Please show how that answer resolves the issue.

mlmcc
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now