1837403 - Clicking the cancel button from Print to PDF dialog box does not allow the application to redirect to a different page through a button click event.

SAP Knowledge Base Article - Public

1837403 - Clicking the cancel button from Print to PDF dialog box does not allow the application to redirect to a different page through a button click event.

Symptom

  • Clicking the cancel button from Print to PDF dialog box does not allow the application to redirect to a different page through a button click event.
  • This only happens when there is ADOBE PDF client is installed on the machine which configures the Print to PDF dialog box.

Environment

  • Visual Studio 2010
  • Crystal report for Visual Studio 2010 SP5
  • Web Application.

Reproducing the Issue

  1. Develop a Crystal Reports .net web application.
  2. Drop a button on the web form where the CR viewer is placed.
  3. Set the print mode property of the viewer to 'pdf'.
  4. On the button click event write the code to redirect to another web form.
  5. Run the application and view the report in the viewer.
  6. Click print button from the viewer which will bring up the print to pdf dialog.
  7. Cancel it and then click the button.
  8. Observe the behavior, the button click does not redirect to another page instead it postbacks and stays on the same page.

Cause

  • This Issue has been identified as a bug and tracked under problem id : ADAPT01686886.
  • The target fix is Service Pack 6
  • ETA: mid 2013

Resolution

This issue has now been resolved in SAP Crystal Reports Developer for Visual Studio Service Pack 6

Keywords

CR4VS 2010;VS2010;ADAPT01686886 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Bug Filed

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio