See Also

ReportViewerObject Class  | ReportViewerObject Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

RepositionPage Property

Determines whether the viewer will reposition the view to the top of the page when a user goes to another page after scrolling downward in a page.

[Visual Basic]
Public Property RepositionPage As Boolean
[C#]
public bool RepositionPage {get; set;}

Return Type

Boolean value. If True, the viewer will reposition the view to the top of the page. If False, the viewer will persist the current position of the page to all pages. The default value is False.

Example

[C#] 

private void arv_Load(object sender, System.EventArgs e) 

    rptDD rpt = new rptDD(); 
    rpt.Run(); 
    arv.Document = rpt.Document; 
    arv.ReportViewer.RepositionPage = true; 
}

[Visual Basic] 

Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document
    arv.ReportViewer.RepositionPage = True
End Sub

See Also

ReportViewerObject Class  | ReportViewerObject Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.