Progress® Telerik® Reporting R3 2017

ReportViewerTotalPages Property

Gets the count of the available pages in the viewer.

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

Syntax

public int TotalPages { get; }

Property Value

Type: Int32

Examples

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

See Also