I am developing an window application where i need to get total pages in Rdlc report viewer.
So please tell me how to get total page count.
Here is my Code, which is not working and always show 0 :
Dim TotalPage As Integer = ReportViewer1.LocalReport.GetTotalPages(PageCountMode.Actual)
MsgBox(TotalPageAs)
In this image total number of page is 6 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.