Solved

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

Posted on 2011-03-25
5
256 Views
Last Modified: 2012-05-11
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
Comment
Question by:john M
5 Comments
 
LVL 7

Accepted Solution

by:
Chandan_Gowda earned 500 total points
ID: 35219004
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35219515
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
 
LVL 22

Expert Comment

by:Ido Millet
ID: 35222308
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
 
LVL 3

Author Closing Comment

by:john M
ID: 35232044
Thanks
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35233270
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now