Report previewed from designer does not show data
Posted: Thu Oct 08, 2009 10:56 am
Using version 2009.2.500.0 of the designer - this is my code:
DataSet theData = ReportUtility.GetReportData(...);
stiReport.RegData(theData);
stiReport.Dictionary.ImportXMLSchema(theData);
WebDesigner1.Design(stiReport);
When I put a breakpoint on the last line, I can inspect stiReport and see that the DataSources property is set and has > 0 rows.
In the designer I can see the Dictionary has the Data Source set, and I can construct my report (report title band and data). However, when I click the Preview tab (and choose either PDF or HTML) a new window opens (http://localhost/ePrism2/analysis/Repor ... eviewAsPDF) but the tab is labelled "Compilation Error" and only the report title displays. When I render and display this same report using the StiWebViewerFx, the data displays as it should.
Is there a setting or step I am missing that is required in order to use the Preview tab in the designer?
DataSet theData = ReportUtility.GetReportData(...);
stiReport.RegData(theData);
stiReport.Dictionary.ImportXMLSchema(theData);
WebDesigner1.Design(stiReport);
When I put a breakpoint on the last line, I can inspect stiReport and see that the DataSources property is set and has > 0 rows.
In the designer I can see the Dictionary has the Data Source set, and I can construct my report (report title band and data). However, when I click the Preview tab (and choose either PDF or HTML) a new window opens (http://localhost/ePrism2/analysis/Repor ... eviewAsPDF) but the tab is labelled "Compilation Error" and only the report title displays. When I render and display this same report using the StiWebViewerFx, the data displays as it should.
Is there a setting or step I am missing that is required in order to use the Preview tab in the designer?