Progress® Telerik® Reporting R2 2018

ReportViewerBaseError Event

Occurs when there is an error in the report viewer control.

Namespace:  Telerik.ReportViewer.WinForms
Assembly:  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll) Version: 12.1.18.718 (12.1.18.718)

Syntax

public event ErrorEventHandler Error

Value

Type: Telerik.ReportingErrorEventHandler

Examples

This example illustrates how to wire the Error event and use the event arguments to check the exception.
void reportViewer1_Error(object sender, Telerik.Reporting.ErrorEventArgs args)
{
    if (args.Exception is System.Exception) // check for a specific exception
    {
        var message = args.Exception.Message;
        // do something with the message and/or the 
    }
}

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy