Gets the count of the available pages in the viewer.

Namespace:  Telerik.ReportViewer.Silverlight
Assembly:  Telerik.ReportViewer.Silverlight (in Telerik.ReportViewer.Silverlight.dll) Version: 13.0.19.117 R1 2019 SP1

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;
}

Version Information

Supported in: 1.0

See Also

In this article
Not finding the help you need?