Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# CrystalReports
Hi All,

In my report there is more than one page. I want to display all pages by using a scroll. Currently, I've to use the previous page button or next page button.

Is there anyway to display all pages by means of scroll in the report?
D'Oh! | :doh:
Posted 14-Jun-10 2:43am
Edited 14-Jun-10 5:33am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

jisha Johnson wrote:
I want to display all pages by using a scroll.


I believe you want to navigate to other page using scroll.

I have seen something similar in SSRS but not in Crystal. Try to set focus on page number of Crystal Viewer, and see if scroll works on it.
If not, i don't think you will be able to.

Though other option might be to avoid pagination and show all content in one page in viewer. Yet, what you are asking for is not this.
  Permalink  
Comments
jisha Johnson at 15-Jun-10 0:33am
   
I'm getting one page at a time. If I click on next button I'm getting the second page. I want to get all pages by scroll. I mean instead of clicking next ya previous button I want to go through all pages
Sandeep Mewara at 15-Jun-10 1:54am
   
I doubt that' possible! You are trying to have a custom crystal viewer.
jisha Johnson at 15-Jun-10 2:03am
   
K. Thanks for ur comments. One more question.
I've a group value in my report. Is it possible to reset the record number after one group value?
I've seen reset page number. Bt I want to reset number. I mean I want to start the numbering of records of one group from 1

jisha Johnson at 15-Jun-10 3:21am
   
Ya I got answer for my second question. It can be done using running total field Thank u all
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

After databind you can Set SeparatePages property to false of CrystalReportViewer control.
crvDetail.DataBind();
crvDetail.SeparatePages = false;

this will hide prev./next button from the toolbar and page header of the report apears first time only.
  Permalink  
v4
Comments
Dalek Dave at 15-Sep-10 10:36am
   
Good Answer.
Ekta87 at 9-Feb-11 0:35am
   
hi!

thx for help..it works fine for me
dajask at 27-Jun-11 10:40am
   
Please could u help me about it, i use VS2005 and i get the error crvTest does not contain a deffinition for SeparatePages

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sascha Lefévre 485
1 Sergey Alexandrovich Kryukov 325
2 Maciej Los 240
3 Abhinav S 164
4 Peter Leow 120
0 Sergey Alexandrovich Kryukov 6,953
1 OriginalGriff 6,311
2 Maciej Los 2,732
3 Peter Leow 2,674
4 Abhinav S 2,562


Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 15 Sep 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100