Sunday, April 22, 2012

Loading and Disposing Crystal Reports on Page

Recently one of my friend mentioned strange Crystal Reports behavior on page. The scenario was simple,

  1. web page
  2. A Button
  3. A CrystalReportViewer Control
  4. A simple Crystal Report

What he doing was, on clicking of button he was loading the report in CrsytalReportViewer control. The report was being displayed correctly, but when he was trying to Zoom In, Zoom Out or Exporting the report he was getting error “No valid report source is available”.