Solved

Crystal report Print button Problem in asp.net

Posted on 2013-06-28
7
1,549 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

28 Experts available now in Live!

Get 1:1 Help Now