Solved

Crystal report Print button Problem in asp.net

Posted on 2013-06-28
7
1,584 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 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