on 12-04-2007 5:14 PM
Post Author: guyi
CA Forum: JAVA
hi,I am using JRC to open and view a report in my JSP.I would like to create my own toolbar in the page, for that I set the toolbar display in the CrystalReportViewer to false as follow:viewer.setDisplayToolbar(false);I
need to recognize the current page number and whether current page is
the last one, I found that CrystalReportPartsViewer has the right
method isLastPage(), unfortunately it does not work - this method
always return false.(Note that I am using the viewer.getHtmlContent() method and not viewer.processHttpRequest()) Any idea?Thanks in advanceGuy
Post Author: guyi
CA Forum: JAVA
Hi Ted,exactly what i needed Thank you very much. Guy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post Author: Ted Ueda
CA Forum: JAVA
Part of the equation is supplied via method:
doc.getReportSource().getLastPageNumber(new com.crystaldecisions.sdk.occa.report.reportsource.RequestContext());
where doc is the ReportClientDocument class instance for the report.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.