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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

760 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

22 Experts available now in Live!

Get 1:1 Help Now