Hi,
I am facing a unique problem.
I have to explicitly refresh (By clicking on refresh button OR by navigataing to other page OR by zoomin,zoomout) the report to see the data
I am using BO XI 3.1 Edge Series Server.
I have published the RPT files on this Server & able to see the reports properly through CMC or throgh InfoView wizard.
However, when I try to see the reports through my webapplication, I have to explicitly refresh (as said in above way) to see the data.
My code is like this:
int reportID = 2946;
IEnterpriseSession enterpriseSession =
(IEnterpriseSession)session.getAttribute(āEnterpriseSessionā);
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setEnterpriseLogon(enterpriseSession);
IReportSourceFactory psReportSourceFactory =
(IReportSourceFactory)enterpriseSession.getService("PSReportFactory");
Object reportSource = psReportSourceFactory.openReportSource(reportID, Locale.ENGLISH);
viewer.setReportSource(reportSource);
viewer.setDisplayPage(true);
viewer.setDisplayToolbar(true);
viewer.setOwnPage(true);
viewer.processHttpRequest(request, response, getServletContext(), null);
viewer.dispose();
Once the report is refreshed, then I donāt face any problem and I am able to see the complete data.
Time is running out & I have a demo coming nearby.
And I canāt tell my client to refresh the page to see data. Hope you guys understand why soā¦
Thanks in advance friends.
Good Day.
God Bless You
surbhit4u (BOB member since 2009-06-30)