To resolve this problem, I only had to make slight modifications: detect the navigation event & skip a bit of code during navigation.
On the page's PreRender event:
- Load the Report Document (.rpt)
- If not navigating (use CRV's Navigate event & set flag>...
- Set the date range info on the Report Doc
- Set CRV.ReportSource to the Report Doc
- And, of course, call base.OnPreRender to give CRV it's opportunity to do prerender processing
The primary issue of the viewer always rendering page 1 was caused by setting the date info again.
No comments:
Post a Comment