CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums



Zone: > Asp.Net Forum > asp.net_ajax.asp.net_ajax_ui Tags:
Item Type: Date Entered: 1/7/2008 1:56:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 2429 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages |< << Go >> >|
"ryan2112" <>
NewsGroup User
UpdatePanel does not allow the CrystalReportViewer control to print or export.6/23/2006 5:03:17 PM

0

I have a CrystalReportViewer control on my webpage that is inside of an UpdatePanel control. All functionality of the crystal report toolbar works except when I try to print or export. It appears to be contacting the server, but the print/export popup window does not load. I think it has something to do with the javascript .NET uses to load the print/export window. Has anyone out there come up with a work around for this? Thanks in advance!

 

"Rama Krishna"
NewsGroup User
Re: UpdatePanel does not allow the CrystalReportViewer control to print or export.6/23/2006 8:48:54 PM

0

First of all what is the reason you are using crystal report within an update panel?

Now, the reason why Crystal report print does not work is that it generates in-line scripts which are not registered via ClinetScript.RegisterStartupScript. These scripts will not be get loaded as part of Atlas update panel's update.

Even if that was corrected the export will still fail because it will try to use Response.BinaryWrite to write the exported PDF data which cannot be handled by Atlas.

 

"ryan2112" <>
NewsGroup User
Re: UpdatePanel does not allow the CrystalReportViewer control to print or export.6/26/2006 5:11:03 PM

0

I was hoping I could use a crystal report within an update panel to eliminate a full page refresh when users use the CR toolbar (which it does BTW), but I figured the print and export was'nt working due to the scripts and could not be done.

Thanks for your reply!

"Gregorio Vite"
NewsGroup User
Re: UpdatePanel does not allow the CrystalReportViewer control to print or export.3/15/2008 1:56:06 AM

0

To make the report makes a postbak you need go to the Triggers on the Properties of the UpdatePanel, and add a member in the control ID Select the Crystal ReportViewer.  This makes the Print popup to be available.

 

4 Items, 1 Pages |< << Go >> >|



Free Download:






   
  Privacy | Contact Us
All Times Are GMT