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 .