ActiveReports 6 Online Help
Clear Method (History)
Example 

Clears the page views from the history.
Syntax
'Declaration
 
Public Sub Clear() 
public void Clear()
Example
private void btnClear_Click(object sender, System.EventArgs e)
{
    arv.ReportViewer.History.Clear();
    btnBack.Enabled = false;
    btnForward.Enabled = false;
}
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

History Class
History Members

Send Feedback