What is Rdlc expression for page number in body Rdlc design mode?
Loading
What is Rdlc expression for page number in body Rdlc design mode?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhishek ChadhaPosted Sep 3, 2021, 4:29 AM
The page number can be used for those report sections that reset values on page change.
The body section doesn't reset on page change. It keeps continuation of the previous page. That's why the page number can be set in Page Header or Page Footer section.
more details -
https://social.msdn.microsoft.com/Forums/en-US/ab9c18bc-ee37-45a2-a52d-628c12d08b33/ssrspagination-on-report-body?forum=sqlreportingservices
To add page number in Header/Footer use following -
Add a textbox or label anywhere and make the Expression
=Globals!PageNumber
or something like...
="Page " + Globals!PageNumber.ToString() + " of " + Globals!TotalPages.ToString()