?
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
Medium Priority
?
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 7

Accepted Solution

by:
Chandan_Gowda earned 2000 total points
ID: 35219004
0
 
LVL 101

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 23

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 101

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

DFW AZURE MEETUP TONIGHT FRI 6PM

We will be discussing what Azure Stack is, how does it fit into the suit of offerings that Azure has currently, and where can it fit into your organizations technology stack. We will also be discussing limitations of the platform while covering various applicable scenarios.

Question has a verified solution.

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

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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

752 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