What is Rdlc expression for page number in body Rdlc design mode?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek ChadhaRank #402 · 6.2K reputationPosted Sep 3, 2021, 12:29 AM EDT
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()