CrystalReportViewer.Error Event

Event fires when an error occurs in the CrystalReportViewer control.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration

Public Event Error As CrystalDecisions.Windows.Forms.ExceptionEventHandler
public event CrystalDecisions.Windows.Forms.ExceptionEventHandler Error

Event Data

The event handler receives an argument of type ExceptionEventArgs containing data related to this event. The following ExceptionEventArgs properties provide information specific to this event.

Property Description
Exception Gets exception data.
Handled Gets or sets whether the event was handled. Set to true if you do not want the default action to occur.
UserData Gets or sets any type of data that can be used to override what is done when an exception is handled

Remarks

This event will be raised when an error occurs in the CrystalReportViewer control.

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET XI

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace