I use a WindowsForm Reportviewer. C# 2.0
I generate the report and all is OK but when the user try to print (print button in toolbar), the application open the printdialog, I select the printer and press Ok. But the application doesn't generate a document.
When I try again, all work fine.
If I close the application and restart, occurs the same (first doesn't works, second works, all time works).
somebody have any idea
Thanks form Spain.

Reportviewer doesn't print first time I click print button
BMcCool
Vote for these bugs,
Focus problem: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=983b88af-f2f4-411f-a631-3ee7c7baedc4
First print does not work:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=82342231-6864-49f5-b087-eb30258df08c
archdeacon
Yes, my clients version framework is 2.050727 (the last one).
Chez
AdrianJMartin
pkv
fastzap
Moinuddin Pasha Mohd.
CaptEded.com
Jeff Glenn
David Hearn
I have been taking hit from clients repeatedly for these bugs. Today, I revisted one of issues again, found a workaround. Originally I put these lines after the line of
Me.ReportViewer1.RefreshReport(), it often gives wrong total page number. Hope putting in the renderingComplete event will work perfectly.
It still doesn't solve the print button in the print dialouge though.
Private
Sub ReportViewer1_RenderingComplete(ByVal sender As Object, ByVal e As Microsoft.Reporting.WinForms.RenderingCompleteEventArgs) Handles ReportViewer1.RenderingComplete Me.ReportViewer1.SetDisplayMode(DisplayMode.PrintLayout) Me.ReportViewer1.ZoomMode = ZoomMode.PageWidth End SubAerosol
Silmar
tdot
Yes I use a RTM version. But maybe my client has a diferent version (I'm going to see), because in my computer works fine, but in client's computer doesn't works.
I'll download the last redistibutable.
Thank for advice. I'll post the result tonight.
Tony H
Brian,
Thanks for responding to this issue. I think the long term solution to these types of bugs is to keep the feedback center open after rtm. That way verified bugs can be rolled into the next service pack. Just an idea.