Progress® Telerik® Reporting R2 2019

ReportViewer.Error Event

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

Namespace:  Telerik.ReportViewer.Silverlight
Assembly:  Telerik.ReportViewer.Silverlight (in Telerik.ReportViewer.Silverlight.dll) Version: 13.1.19.718 R2 2019 SP2

Syntax

public event ErrorEventHandler Error

Value

Type: Telerik.ReportViewer.SilverlightErrorEventHandler

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.ReportViewer.Silverlight.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 
    }
}

Version Information

Supported in: 1.0

See Also

In this article
Not finding the help you need?