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
261 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 500 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

726 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