Progress® Telerik® Reporting R3 2017

ReportViewerTotalPages Property

Gets the count of the available pages in the viewer.

Namespace:  Telerik.ReportViewer.Wpf
Assembly:  Telerik.ReportViewer.Wpf (in Telerik.ReportViewer.Wpf.dll)


public int TotalPages { get; }

Property Value

Type: Int32


// Go to the middle of the report
private void GoToMiddle(object sender, System.EventArgs e)
    var middlePage = this.reportViewer1.TotalPages / 2;
    this.reportViewer1.CurrentPage = middlePage;

See Also