WebReport.ReportDone gone?
Turntwo
Folsom, CA
I just updated to version 2013.1, and the ReportDone method on WebReport no longer exists? Did something replace it?
I tried just commenting it out, but when I try to load a prepared report into the WebReport control, I end up with an empty report. So it seems like that doesn't work.
Is there any documentation for this breaking change?
Here is the code I am using, that worked fine previously (ReportDone = true wasn't commented out before).
ReportName is a filepath to the PreparedReport that was previously generated. I can open this path with the ReportViewer and everything is fine, so the report was created OK.
I tried just commenting it out, but when I try to load a prepared report into the WebReport control, I end up with an empty report. So it seems like that doesn't work.
Is there any documentation for this breaking change?
Here is the code I am using, that worked fine previously (ReportDone = true wasn't commented out before).
ReportName is a filepath to the PreparedReport that was previously generated. I can open this path with the ReportViewer and everything is fine, so the report was created OK.
WebReportViewer.Report.LoadPrepared(ReportName);
//WebReportViewer.ReportDone = true;
File.Delete(ReportName);
Comments
I did finally get them to show - by changing from the OnStartReport event to the OnLoad event to load the prepared report. Now my report displays.
However, I still have an issue - the Paging buttons do NOT display. The "Showxxx" properties are set to true (by default, and I set them myself just to be sure). The Zoom, Export and Print buttons all display fine.