Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Crystal report Print button Problem in asp.net

Posted on 2013-06-28
7
Medium Priority
?
1,803 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 101

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 101

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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 16

Author Comment

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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 …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 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