StiWebViewer does not show data (Version 2016.07.15)
Posted: Mon Jul 25, 2016 7:05 am
I updated from 2016.1 to 2016.07.15 due to problems with nullable types in report designer.
After that the StiWebViewer does not show any data. I set the following properties:
StiOptions.Web.AllowUseResponseFlush = false
// my StiWebViewer variable is myWebViewer
myWebViewer.CurrentPage = 0;
myWebViewer.GlobalizationFile = GetLocalizationFile();
myWebViewer.PrintDestination = StiPrintDestination.WithPreview
myWebViewer.Report = stimulReport
myWebViewer.ViewMode = StiWebViewMode.WholeReport;
myWebViewer.AllowBookmarks = true;
myWebViewer.ScrollbarsMode = true;
myWebViewer.PrintMode = StiPrintMode.WholeReport;
myWebViewer.ContentAlignment = StiContentAlignment.Center;
After 'myWebViewer.Report = stimulReport', the value of property myWebViewer.Report.RenderedPages.Items.Length is 2.
Response as PDF works like expected: StiReportResponse.ResponseAsPdf(MyPage, stimulReport, true);
Report is also displayed correctly in report designer.
What's wrong ?
After that the StiWebViewer does not show any data. I set the following properties:
StiOptions.Web.AllowUseResponseFlush = false
// my StiWebViewer variable is myWebViewer
myWebViewer.CurrentPage = 0;
myWebViewer.GlobalizationFile = GetLocalizationFile();
myWebViewer.PrintDestination = StiPrintDestination.WithPreview
myWebViewer.Report = stimulReport
myWebViewer.ViewMode = StiWebViewMode.WholeReport;
myWebViewer.AllowBookmarks = true;
myWebViewer.ScrollbarsMode = true;
myWebViewer.PrintMode = StiPrintMode.WholeReport;
myWebViewer.ContentAlignment = StiContentAlignment.Center;
After 'myWebViewer.Report = stimulReport', the value of property myWebViewer.Report.RenderedPages.Items.Length is 2.
Response as PDF works like expected: StiReportResponse.ResponseAsPdf(MyPage, stimulReport, true);
Report is also displayed correctly in report designer.
What's wrong ?