Solved

Crystal report Print button Problem in asp.net

Posted on 2013-06-28
7
1,497 Views
Last Modified: 2013-07-17
hi

i have a problem in the crystal report only when i click the print from the crystal report toolbar .
the problem after i click print all the page freez and im not able to click anthing or navigate in the page

im using VS2010,ASP.NET 4.0 and crystal report version 13


<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>



please help.
0
Comment
Question by:Kamal Khaleefa
  • 4
  • 3
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39284741
Is there a printer defined on the web server?  

Is it set as the default printer?

Does the user have permissions to use the printer?

mlmcc
0
 
LVL 16

Author Comment

by:Kamal Khaleefa
ID: 39289189
Dear mlmcc,

Yes there is a printer defined and user has permission

also in crystal report i set the option no printer to true

my problem after you click the print button in the crystal report everything will freez
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39289923
Is the printer set as default?

The NO PRINTER option in older versions was meant exactly for that.  If set you couldn't print.

The newer versions, I believe, doesn't do that but rather formats the page for optimum viewing on the screen or over the web.

Clicking the print button should bring up the printer dialogue screen.  I wonder if it is hiding behind the report thus making that screen not respond to click.
Try resizing the report viewer so you can see the print button so it is in the upper third of the screen.
Click the print button
Does the printer dialogue show?

mlmcc
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 16

Author Comment

by:Kamal Khaleefa
ID: 39290004
Hi
Dialog is show and I can print successfully
After that page freez
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39290022
I don't know.  I am not familiar with the ASP methods of calling Crystal.

mlmcc
0
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 0 total points
ID: 39322417
hi
the problem is solved by adding PrintMode="ActiveX"
0
 
LVL 16

Author Closing Comment

by:Kamal Khaleefa
ID: 39332632
once you add PrintMode="ActiveX"  the page will work without any problem

this property add it in the aspx page in the crystal report control
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

20 Experts available now in Live!

Get 1:1 Help Now