Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Having issues with Crystal reports report viewer

$
0
0

I recently applied the SP5 patch so that our development team can migrate to Visual Studio 2012.  I am running into issues with the Crystal Report report viewer.

 

For some odd reason after entering the parameters of the report,  I need to press the F5 key to have the results of the report render in the report viewer.

 

Export to PDF and Excel work fine and after press the F5 key to refresh the page,  the report in the report viewer appears to render correctly.

 

This was not happening in Visual Studio 2008 and Crystal reports 10.5 ??? (not sure of the version number just the DLL version).

 

It appears as though I need to somehow refresh the report after the report source is assigned to it (via a button click event).

 

Unfortunately,  RefreshReport() doesn't appear to work.

 

Here's the psuedo code of what's happening

 

1.  End user enters report parameter via web form

2.  Clicks Generate report

3.  Button click event retrieves resulting report data based on web form parameters and populates the report.

4.  Report is assigned to the ReportSource parameter of the ReportViewer

5.  Excel and PDF export button visible property are set to true.

 

Then nothing. 

 

Excel and PDF buttons work as designed,  but report will not render until I press the F5 key on the keyboard.

 

I have designed reports in SSRS and Telerik (I know boo hissssss),  so I know the generalities,  but not the specifics of generating Crystal Reports.

 

Any help to the new kid would be appreciated.

 

Thanks,

 

Sam


Viewing all articles
Browse latest Browse all 3636

Trending Articles