I know this issue was commented in this forum before... believe me: I have read all the posts regarding this issue, I've followed all the instructions and have been trying to achieve some result for one week, now I'm tired and disappointed...
This is the problem:
The viewer shows only the first (of 72) pages, and the other pages are blank... I cannot split the report as already mentioned, and I think my report is not that big.
Each record in datatable (72 rows) is used to draw a code-bar image, some text data and boxes
Code: Select all
My client-side code is:
<cc1:StiWebViewerFx
ID="StiWebViewerFx1"
runat="server"
Width="100%"
Height="100%"
ServerTimeout="00:30:00"
CacheItemPriority="Normal">
</cc1:StiWebViewerFx>
My server-side code is:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim cacheFolder As String
Dim myReport As StiReport = New StiReport()
Dim dttData As New TDatatable
If (Not Page.IsPostBack) Then
'FILL DATATABLE WITH DATA HERE
'....
myReport .Load(clUtil.getReportPath() + "report1.mrt")
myReport.RegData("dttData", dttData)
myReport.Compile()
myReport.Render()
Server.ScriptTimeout = 600
cacheFolder = "App_data/" 'Folder with read/write permissions
relatorio.ReportCachePath = cacheFolder
relatorio.ReportCacheMode = StiReportCacheMode.On
relatorio.RenderedPages.CanUseCacheMode = True
relatorio.RenderedPages.CacheMode = True
StiWebViewerFx1.ServerTimeout = New TimeSpan(0, 15, 0)
StiWebViewerFx1.CacheMode = Stimulsoft.Report.WebFx.StiWebViewerFx.StiCacheMode.Page
StiWebViewerFxOptions.Connection.ClientRequestTimeout = 300
relatorio.ReportCacheMode = StiReportCacheMode.Off
StiWebViewerFx1.Report = myReport
End If
End Sub
Version 2012.3
Visual Studio 2012
Windows 8
So, what I'm missing ?