ReportError event not exists C1ReportViewer 2025v2 399

Posted by: enrique.pv-ext on 4 May 2026, 8:28 am EST

    • Post Options:
    • Link

    Posted 4 May 2026, 8:28 am EST

    Hi,

    Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.

    Using C1ReportViewer from C1.Web.Wijmo.Controls.48.dll

    Changes C1WebReport to C1ReportViewer control.

    Old code:

     C1WebReport.ReportError += new C1.C1Report.ReportEventHandler(C1WebReport_ReportError);
        protected void C1WebReport_ReportError(object sender, C1.C1Report.ReportEventArgs e)
        {
            Logger.Info(e.Exception.Message.ToString());
        }

    any alternatives for new C1ReportViewer 2025v2 399 ?

  • Posted 5 May 2026, 7:20 am EST

    Hello Enrique,

    The event in newer versions is the same: ReportError

         var report = C1ReportViewer.CreateC1Report();
         report.ReportError += Report_ReportError;
    
    private void Report_ReportError(object sender, ReportEventArgs e)
    {
        Console.WriteLine(e.Exception.Message);
    }

    Documentation: https://developer.mescius.com/componentone/docs/win/online-report/C1.C1Report.4~C1.C1Report.C1Report~ReportError_EV.html

    Sample: Report_Sample.zip

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels