Error in paging a report
Posted: Mon Jun 07, 2010 7:57 am
The 401 error was actually a false error. So ignore it.
I cleared out the log...and ran the test again..got the same problem, but no 401 error showed up. In fact no error showed. All that was logged was code 200 (success).
I tried setting the RenderMode, but getting the same problem.
Couple of things.
RenderMode is NOT a string. To set RenderMode I used the following line.
ReportWebViewer.RenderMode = Stimulsoft.Report.Web.StiRenderMode.UseCache;
Second...I was told earlier to set the property on the aspx page to RenderMode="AjaxWithCache"
In code I then changed it to the following line.
ReportWebViewer.RenderMode = Stimulsoft.Report.Web.StiRenderMode.AjaxWithCache;
And getting the same problem.
Another developer I work with things it's a session problem. That the view control is loosing session state.
Are you using cookies to keep track of session??
We're grasping at straws here.
I cleared out the log...and ran the test again..got the same problem, but no 401 error showed up. In fact no error showed. All that was logged was code 200 (success).
I tried setting the RenderMode, but getting the same problem.
Couple of things.
RenderMode is NOT a string. To set RenderMode I used the following line.
ReportWebViewer.RenderMode = Stimulsoft.Report.Web.StiRenderMode.UseCache;
Second...I was told earlier to set the property on the aspx page to RenderMode="AjaxWithCache"
In code I then changed it to the following line.
ReportWebViewer.RenderMode = Stimulsoft.Report.Web.StiRenderMode.AjaxWithCache;
And getting the same problem.
Another developer I work with things it's a session problem. That the view control is loosing session state.
Are you using cookies to keep track of session??
We're grasping at straws here.