on 07-03-2012 5:33 PM
A bug that my QC team has sent my way is a corner case where they open up a report (which our application generates as a separate window), click on the print icon to bring up the printing dialog, and then close the reportviewer window. The print dialog window persists. Is this a known issue with the CR engine? If I have to handle it myself, how does the print dialog window get generated by the CR engine? I need to know how to navigate to it from the reportviewer window's OnClosing event handler.
Thanks!
Hello Steve
This is not a known issue.
I am assuming this is a win app?
What version of CR?
What version of .NET?
Can you duplicate the issue on your development computer?
- Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Steve, once I click on the Print button and the print dialog comes up, I can't even go back to the viewer. It simply does not let me and just kind of blinks on / off. E.g.; I am not able to close the viewer at all(?). The only way for me to close the viewer is to either OK, or Cancel the Print dialog.
??
- Ludek
We have a main WPF window that opens up a second window with the ReportViewer item. When I click on the print button in the ReportViewer, the print dialog window seems to be created as a child of the WPF window, not the ReportViewer window. And yes, the print dialog is modal with regards to the main WPF window, but I am still able to select the ReportViewer window.
Ok. So I created a new WPF project, no Crystal Reports involved. Two forms.
Form1 has a button calling form2
Form2 calls a print dialog from a button to print "stuff"
Click the print button on form2
Print dialog comes up
Close form2, print dialog stays up just as it doe in an app that uses the CR WPF viewer
My conclusion then is that this is a WPF forms behavior (winform dowes not exhibit this behavior) - with CR viewer of without.
I suspect getting MS to explain this behavior is the next step.
Just to be complete here, I used a project from this link:
http://www.a2zdotnet.com/View.aspx?Id=66
All I did is add a form to it that calls the above form.
- Ludek
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.