Progress® Telerik® Reporting R2 2019

ReportViewer.CurrentPage Property

Gets or sets the current page in the viewer.

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

Syntax

public int CurrentPage { get; set; }

Property Value

Type: Int32

Examples

// Navigate to a desired page
private void NavigateToPage(object sender, System.EventArgs e)
{
    var desiredPage = 5;

    // Check if the viewer can navigate to the page since the report may have fewer pages for example
    if (this.reportViewer1.CanMoveToPage(desiredPage))
    {
        // By setting the property the viewer will automatically navigate to the page in question
        this.reportViewer1.CurrentPage = desiredPage;
    }
}

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?