This is a migrated thread and some comments may be shown as answers.

Group Pagecount

4 Answers 204 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Henry Derstine
Top achievements
Rank 1
Henry Derstine asked on 07 May 2010, 07:44 PM
Ive seen this post but no resolution. Is there a way to do page counting within a group. ie. Report is 15 pages long and the numbering would look like (page number-page count) .
Group 1 (1-5,2-5,3-5...) Group 2 (1-7,2-7,3-7...) Group 3 (1-3,2-3,3-3)

If this is not possible (which I seem to believe is the case, because the problem of resetting the pagecount) is it possible to reset the page number at the end of each group? The numbering would be simply the count inside the group.
Group 1 (1,2,3,4,5) Group 2 (1,2,3,4,5,6,7) Group 3 (1,2,3)

Any help is appreciated..

Thanks

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 May 2010, 01:32 PM
Hello Henry Derstine,

In order to achieve that kind of group numbering you have to use the new built-in functions Exec and RowNumber to "simulate" the desired effect. I've attached a sample project.
 

Kind regards,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Henry Derstine
Top achievements
Rank 1
answered on 12 May 2010, 06:42 PM
Thanks that helps a lot. I can get the page numbers to reset at the end of the groups but the pagecount is not working. It appears to return the number of detail items in the page rather than pages in the group. Can you explain the syntax to me?
Specifically-
Page {RowNumber()} of {Exec("Manufacturer", Count(1))}

The {RowNumber()} seems to return the page number in the group, incrementing by 1 until the group ends then starting at 1 for the next group

{Exec("Manufacturer", Count(1))} is where I am having problems. The Manufacturer is the name of my group but the value returned is the number of detail rows on the page.

Thanks
0
Henry Derstine
Top achievements
Rank 1
answered on 12 May 2010, 07:05 PM
I just found the http://www.telerik.com/help/reporting/expressions-functions.html so hopefully I can work out my problem.
0
Nick
Top achievements
Rank 1
answered on 19 Nov 2013, 08:28 PM
Were you able to solve this issue?
Tags
General Discussions
Asked by
Henry Derstine
Top achievements
Rank 1
Answers by
Peter
Telerik team
Henry Derstine
Top achievements
Rank 1
Nick
Top achievements
Rank 1
Share this question
or