Solved

Crystal report Print button Problem in asp.net

Posted on 2013-06-28
7
1,639 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

679 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