Click here to Skip to main content
15,920,031 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to export my Crystal Report To PDF Only .Please Healp me........
Posted
Comments
Vikas_Shukla_89 13-Dec-11 5:15am    
you can set HasExportPrint = false.
and can give a button where user click to view report in pdf or export that in pdf format..

1 solution

AFAIK its impossible. Best option is don't show the CrystalReportViewer to user. Just give the export option(only PDF) to user using programming(Ex. Show a button to the user, in the button click write the code for Export to PDF.).

C# Crystal Reports Export to Pdf[^]

EDIT

Exporting and Sending Crystal Reports .NET Reports to the Client Browser[^]

EDIT2

Crystal Reports: Fix for "Load report failed" error.[^]
 
Share this answer
 
v4
Comments
Member 8390746 13-Dec-11 6:03am    
Thanks For Helping Me. But I dont Want to save the pdf .I want to Open a new pdf file
if i am using CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net-informations.pdf";
this code the exported pdf file always saved on the same location .I want to save it Manualy
thatraja 13-Dec-11 6:21am    
Check my updated answer.
thatraja 14-Dec-11 0:35am    
What happened? did you check the updated answer?
Member 8390746 14-Dec-11 4:40am    
Iam using crystal report with vb.net.SO There is an error with Server.MapPath
thatraja 14-Dec-11 4:44am    
check my updated answer. I have created that Tip/Trick(last link in my answer) recently.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900