ReportViewer.Reset Method
Visual Studio 2010
Resets the control to its default values.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Calling the Reset method resets the ReportViewer control to its default state. The existing LocalReport object is replaced with a new instance.
Note |
|---|
|
Because the LocalReport object is replaced with a new instance when Reset is called, any reference to the SubreportProcessing event handler is removed. You must reinstate the SubReportProcessing event handler after calling Reset to handle sub-report processing events. |
Note