Progress® Telerik® Reporting R2 2018

ReportViewerBaseTotalPages Property

Gets the count of the available pages in the viewer.

Namespace:  Telerik.ReportViewer.WinForms
Assembly:  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll) Version: 12.1.18.710 (12.1.18.710)

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

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy