This documentation is archived and is not being maintained.

ReportViewer.CurrentPage Property

Gets or sets the current page of the ReportViewer control's active report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
<BrowsableAttribute(False)> _
Public Property CurrentPage As Integer
Dim instance As ReportViewer
Dim value As Integer

value = instance.CurrentPage

instance.CurrentPage = value
/** @property */
public int get_CurrentPage ()

/** @property */
public void set_CurrentPage (int value)

public function get CurrentPage () : int

public function set CurrentPage (value : int)

Property Value

An integer value containing the current page of the report. The default value is 0.