Print Page | Close Window

Paging problem -- can't goto any middle pages

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12394
Printed Date: 21 Apr 2025 at 1:17am


Topic: Paging problem -- can't goto any middle pages
Posted By: HowardDavis
Subject: Paging problem -- can't goto any middle pages
Date Posted: 22 Feb 2011 at 3:15am

I am using vs 2008 and CR, and a newbie  to CR.  I have three crystal reports on a page and I have a AJAX tab control that controls populating and displaying of these CrystalReportViews.   Each report initial populates and displays correctly, and I can choose which tab show the data. If I try to access a page by using "next/ previous"  the report goes to the end or beginner but not the next page.   I did read the post here that says all the report creating should be in the page init, but since I am choosing different reports while in the same page is there an other way to get the paging correct?




Replies:
Posted By: HowardDavis
Date Posted: 22 Feb 2011 at 3:44am
OK - I figured out how to get the code to fire from Page_Init.   Only there is no difference.  While the actual number of pages is about 150, the report shows 1/1 on the initial page.  If I click on the left index that was generated by crystal reports it goes that page showing something like 89/89.  If I try and go back one page it goes to the first page.


Posted By: HowardDavis
Date Posted: 22 Feb 2011 at 4:11am
ok -- I read some of the post here -- and putting the code in Page_init does let the pagging work. 
 
 I did want to see page something like 1/1000 on the first page the first time but it shows 1/1+.
 
 



Print Page | Close Window