Hello to you,
I'm newbie in web world, using vb.net 2005, Stimulsoft Report 2010.1.700.0
My code to showing report is :
Protected Sub ASPxButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ASPxButton2.Click
Dim appdir As String = HttpContext.Current.Server.MapPath(String.Empty)
Dim rpt As New StiReport
da = New OleDb.OleDbDataAdapter("select * from tblcustomer", sConn)
ds = New DataSet
da.Fill(ds)
rpt.Load(appdir & "\\rptcustomer.mrt")
rpt.RegData("dt", ds.Tables(0))
StiWebViewer1.Report = rpt
End Sub
When I clicked the button, the report is showing properly, Its show page 1, contains 30 pages.
The problem is when I clicked [next pages] in report viewer, its display blank page, why?
I tried to searching forum, found this :
http://forum.stimulsoft.com/Default.aspx?g=posts&t=1774
so, I tried to changing StiWebViewer1.rendermode from "ajax" to "ajaxwithcache"
Finally It's Work!
But I still not understood, would you mind to give some guidance or advice?
Thanks in advance.
Regards,
Steven
It's a must to setting rendermode to ajaxwithcache for showing report?
It's a must to setting rendermode to ajaxwithcache for showing report?
Hello, Steven
Because data are not stored in the report, you need to set a caching mode, otherwise it is necessary to connect the data and generate a report every time you have, for example, change page.
Thank you.
Because data are not stored in the report, you need to set a caching mode, otherwise it is necessary to connect the data and generate a report every time you have, for example, change page.
Thank you.
It's a must to setting rendermode to ajaxwithcache for showing report?
Hi Vladimir,
Thanks for yr response.
Regards,
Steven
Thanks for yr response.
Regards,
Steven
It's a must to setting rendermode to ajaxwithcache for showing report?
Hello,
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.