See Also

History Class  | History Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Clear Method

Clears the page views from the history.

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

Example

[C#] 

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

    arv.ReportViewer.History.Clear(); 
    btnBack.Enabled = false; 
    btnForward.Enabled = false; 
}

[Visual Basic] 

Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click
    arv.ReportViewer.History.Clear()
    btnBack.Enabled = False
    btnForward.Enabled = False
End Sub

See Also

History Class  | History Members

 

 


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