Hello,
My problem is that when I click on the Print button in the Report Viewer, a postback occurs, but no dialog appears. I'm using Visual Studio 2010 with CR 13.0.8.
During my research, I saw a suggestion to try and store the report document in a session variable and then set the viewer ReportSource to that session variable when there is a post back. That did not work, so I simply removed the If Not Page.IsPostback from my Page Load, and voila, the print dialog now appears.
In all my other applications, I did not have to remove this If statement. I am assuming there is a reason why all examples I have seen include this If branch so it is a bit disconcerting I cannot get this work. As I said, the session variable did not do the job.
Any thoughts on why I cannot get the Print Dialog to display when I have an If Not Page.IsPostback? FYI I have two data sources in the report, one is a .NET Objects and the other is SQL 2008 R2 view, linked on a primary key.
I can provide code samples if you like.
Thanks,
Chad