Click to See Complete Forum and Search --> : Crystal Report Viewer Control in ASP.NET


whuili_2004
February 3rd, 2006, 10:17 PM
Hi,

I am using Crystal Report Viewer Control in ASP.NET to display a multiple -page reports, and I encounter a problem:

When I create a 3 pages of reports, at the toolbar there is a "1 of 1+" displayed. If you click next page button, it says "2 of 2+" instead of "2 of 3", then "3 of 3". How can I change any settings or properties in this control so that I can let it be: 1 of 3, 2 of 3 and 3 of 3 instead of 1 of 1+, 2 of 2+ and 3 of 3?

Thanks a lot.

pureJava
February 7th, 2006, 07:19 PM
Hi whuili_2004,

I was having the same problem. I found a thread that described this workaround. Unfortunately, I cannot remember the site it was on...

1. Add a the "Special Field", "Page N of M", to your report using the Field Explorer. This causes Crystal to calculate the total number of pages.
2. Surpress the field if you do not want it to be displayed in your report.

Now your navigation bar should show the correct last page number.