Last post May 25, 2012 04:03 PM by Steven M
May 25, 2012 04:03 PM|Steven M|LINK
I have a report I want to cache. From what I've read, all I need to do is check to see if the page is being posted back. If so, instantiate the cached report object and use that for the ReportSource. My code is as follows:
' Page is being posted back
Dim oCachedData As Cachedrpt07Entitlement = New Cachedrpt07Entitlement()
CrystalReportViewer1.ReportSource = oCachedData
When the user clicks the next page buttons and the page is POSTED back, the CR prompts for values (I assume for the stored proc). It appears the cached object is null, but I'm not sure if I'm reading this right or not. Any suggestions?