944,098 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 11710
  • ASP.NET RSS
May 18th, 2006
0

Printing problem with crystalreportviewer

Expand Post »
Hi all, im new in this forum
I have a problem here with crystal report.
I have building report in web (asp.net 2.0) using crystalreportviewer control. I used crystal report 10 for the report.
I have succeed to view the report. But, if i press the print button, it give me nothing.
Few days ago, everytime I clicked print button, a messagebox showed up. It request to instal printcontrol.cab.
Then i add this code to web.config to avoid this messagebox showing up again :
[configSections]
[sectionGroup name="businessObjects"]
[sectionGroup name="crystalReports"]
[section name="printControl" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null"/]
[/sectionGroup]
[/sectionGroup]
[/configSections]
[businessObjects]
[crystalReports]
[printControl]
[add key="url" value="http://localhost/MyWeb/PrintControl.cab"/]
[/printControl]
[/crystalReports]
[/businessObjects]
Now, that messagebox is not showing again. But, still, it printed nothing. Now, when i click print button, a blank little window with title "Cristal Report Viewer" is showing up for few seconds than automaticaly closed. But still, it doesn't print anything.
I can print but using export function, to PDF or else. But i think that is not solution.
Can anybody give me a better solution?
Thanks before

Regards,
Kian
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Kian99 is offline Offline
2 posts
since May 2006
Nov 16th, 2007
0

Re: Printing problem with crystalreportviewer

hi kian
I have the same problem.I check all things and all things are correct pls guide me if you found the solution?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mania12345 is offline Offline
2 posts
since Nov 2007
Nov 21st, 2007
0

Re: Printing problem with crystalreportviewer

when I press print button in crystalreportviewer or press the export button , all data fields diapear and I get only text fields and borders of data fields.(means after the pressing on the monitor also I have not any data (data of datafiled).(visual studio2005,asp.net,crystalreport). why?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mania12345 is offline Offline
2 posts
since Nov 2007
Feb 19th, 2009
0

Re: Printing problem with crystalreportviewer

Try With this code

crystalreportviewer.ReportSource = reportDocument.Clone()
Reputation Points: 10
Solved Threads: 0
Newbie Poster
perumalla1215 is offline Offline
1 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: how to code
Next Thread in ASP.NET Forum Timeline: Enable and disable checkbox in datagrid at runtime





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC