Aa S
Aa S

Reputation: 11

Setting Report Footer on the last page while saving as PDF

Me with C#.net and using report viewer control I am populating reports in my Report.rdlc, How can I show page number in my report on a given place and I had added footer in Report.rdlc, how can I show footer only at the ending page ie, if there are 3 pages how can I show the footer only in the 3rd page. When i am exporting the report as PDF the footer is visible on all the pages. Please Help !

Upvotes: 1

Views: 273

Answers (1)

Oceans
Oceans

Reputation: 3509

Try using the following expression for the Hidden property of the items that you wish to hide.

=Iif(Globals!TotalPages = Globals!PageNumber, False, True)

Upvotes: 1

Related Questions