Progress® Telerik® Reporting R3 2018

ReportViewerCurrentPage Property

Gets or sets the current page in the viewer.

Namespace:  Telerik.ReportViewer.Silverlight
Assembly:  Telerik.ReportViewer.Silverlight (in Telerik.ReportViewer.Silverlight.dll) Version: 12.2.18.1017 R3 2018 SP2

Syntax

public int CurrentPage { get; set; }

Property Value

Type: Int32

Examples

// Navigate to a desired page
private void button2_Click(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;
    }
}

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