I am using crystal report version 13.0.2000.0 to display the reports on website (developed in ASP.net) framework ( .NET 4.5).
In DIV we are displaying the crystal report. We had our own print button in the corner of the div outside crystal report viewer.
On google chrome browser version 4.0.2403.157 m, when we are trying to print the crystal report by clicking on print button, a popup print window is opened but our page that is having crystal report is refreshed and shows NULL in the crystal report viewer div . WHY?
This null goes away that is the crystal report is displayed in the div again on the page when we perform some action on print popup (i.e either we are printing the report or we are canceling the popup)
The same issue is occuring on IE 8 and 9 as well. while it is working fine with IE 10 and IE 11. In IE 10 and IE 11 even after clicking on print button , report viewer stays in DIV also and in Print window also.
My issue is that why when we are printing the crystal report on page DIV disappears and although after cancelling the Print popup it is showing again.and but its working fine with IE 10 and IE 11.
Has anyone is having solution for this issue?
Try a simply WEB app, use a report with saved data then simply load the report and view it and then hit the print button. Does that work? If so I suggest debugging your workflow...
Also, loading reports should be done in Page_Init. Use Sessions and Postback methods to keep the report in scope.