Share via


ReportViewer.ReportError Event

Occurs when an error is found in the report.

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

Syntax

'Declaration
Public Event ReportError As ReportErrorEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As ReportErrorEventHandler

AddHandler instance.ReportError, handler
public event ReportErrorEventHandler ReportError
public:
event ReportErrorEventHandler^ ReportError {
    void add (ReportErrorEventHandler^ value);
    void remove (ReportErrorEventHandler^ value);
}
/** @event */
public void add_ReportError (ReportErrorEventHandler value)

/** @event */
public void remove_ReportError (ReportErrorEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event is raised when an error occurs in the report. Information about this event is passed in a ReportErrorEventArgs object to the ReportErrorEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace