C1Report obsolete message for C1ReportViewer 2025v2 399

Posted by: enrique.pv-ext on 25 March 2026, 11:51 am EST

    • Post Options:
    • Link

    Posted 25 March 2026, 11:51 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.

    In VS2022 IDE, I get C1Report obsolete message

    This is a legacy control; use C1.Win.FlexReport.C1FlexReport instead

    About C1.Web.Wijmo.Controls.48.dll

    namespace C1.C1Report;
    
    [Obsolete("This is a legacy control; use C1.Win.FlexReport.C1FlexReport instead.")]
    [LicenseProvider]
    [Designer("C1.C1Report.Design.ReportDesigner, C1.C1Report.4.Design, Version=4.8.20251.721")]
    [C1Description("C1ControlLegacy", "This is a legacy control; use 'C1.Win.FlexReport.C1FlexReport' instead.")]
    [ToolboxBitmap(typeof(C1PrintDocument), "C1Report.C1Report.png")]
    [DefaultProperty("ReportName")]
    [ClassInterface(ClassInterfaceType.AutoDual)]
    [Guid("0483DF21-24A7-4227-85AA-EE344E25173F")]
    public class C1Report : Component, ISupportInitialize, ac, ju

    C1.Win.FlexReport.C1FlexReport ?? is Windows control, not WebForms control ??

    any suggestions ?

    thank a lot

  • Posted 26 March 2026, 3:10 am EST

    Hi,

    For your information, the C1Report component was replaced by C1FlexReport a long time ago. Since then, C1Report has been marked as obsolete, meaning it no longer receives new features or bug fixes.

    However, please note that there is no viewer control available for C1FlexReport in the C1 WebForms suite. Therefore, if you need to view reports, you will have to continue using C1Report with C1ReportViewer instead of upgrading to C1FlexReport.

    Best Regards,

    Kartik

  • Posted 27 March 2026, 3:59 am EST

    Maybe using pragma, avoid Obsolete message

    #pragma warning disable CS0618
    var rpt = new C1.C1Report.C1Report();
    #pragma warning restore CS0618
    
    #pragma warning disable CS0618
    public class C1ReportLegacy : C1.C1Report.C1Report
    {
        // Tu código adicional si lo necesitas
    }
    #pragma warning restore CS0618
Need extra support?

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

Learn More

Forum Channels