Error with "C1.Win.C1Chart.ChartDesigner.EnableUI" and with "C1List"

Posted by: andrea.davoli on 3 April 2025, 12:00 pm EST

    • Post Options:
    • Link

    Posted 3 April 2025, 12:00 pm EST - Updated 3 April 2025, 12:05 pm EST

    Hi,

    A few months ago I reported an issue with C1.Win.C1Chart.ChartDesigner.EnableUI in this thread: https://developer.mescius.com/forums/winforms-edition/issue-after-upgrading-from-2022v2-to-2024v1-missing-accessor-function-flex

    After updating the hotfix version, everything worked well; however, the problem has resurfaced and I am now unable to use the designer. The only changes made over these months have been:

    **- Downloading the DLLs for framework 8.0

    • Installing Visual Studio 2022**

    However, the issue now also occurs when using Visual Studio 2019 and the 4.8 DLLs, exactly as before.

    Another problem is that when migrating the application to framework 8.0, there are issues with C1List: an exception is thrown and they do not appear in the designer.

    Deleting and recreating them works, but we cannot do this throughout the entire application because the component exists and is not deprecated—it should function correctly. Moreover, for some forms, the designer does not open properly because of this issue, which prevents making any modifications.

    We don’t have any issues during compilation.

    Could you help us resolve these issues?

  • Posted 4 April 2025, 5:09 am EST

    Hello,

    We are sorry, but we could not replicate the behavior at our end. We created a sample with .NET Framework 4.8 C1.Win.C1List (see List_UpgradeToNet8_BeforeMigration.zip) and then upgraded it to .NET 8.0 C1.Win.List (see List_UpgradeToNet8_AfterMigration.zip).

    Could you please let us know if we are missing anything here?

    Please update the attached sample or attach a stripped-down version of your project for further investigation.

    However, the issue now also occurs when using Visual Studio 2019 and the 4.8 DLLs, exactly as before.

    This issue was expected to be resolved in the 2024 v1 Hotfix 1 build. If you’re still encountering it in later versions, please share a sample that reproduces the behavior so we can investigate further.

    Regards,

    Uttkarsh.

  • Posted 9 April 2025, 6:56 am EST

    Hi Uttkarsh,

    Thank you for your support and for the sample projects.

    We wanted to share a couple of findings on our side that might help clarify the issue:

    C1.Win.C1Chart.ChartDesigner.EnableUI Error:

    In order to download the DLLs for .NET 8, we performed a Repair of the current installation, selecting both .NET Framework 4.8 (already present) and .NET 8.

    However, this process seems to have removed the previously downloaded hotfix for 4.8, restoring the older DLLs that caused the C1.Win.C1Chart.ChartDesigner.EnableUI error.

    After re-downloading and applying the hotfix, everything started working correctly again.

    C1List Error:

    This issue only appeared after upgrading to .NET 8, and it seems to be caused by the .resx files of classes that include C1List.

    By replacing references to C1.Win.List with C1.Win.C1List in the .resx files, the issue appears to be resolved.

    Hope this helps!

    Best regards

Need extra support?

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

Learn More

Forum Channels