C1FlexGrid in .NET 6

Posted by: wknauf on 10 July 2022, 7:59 pm EST

  • Posted 10 July 2022, 7:59 pm EST

    This is a followup to https://www.grapecity.com/forums/winforms-edition/saving-c1flexgrid-to-excel: C1FlexGrid styles and columns designers are not supported in .NET 6 due to changes.

    The .NET 6 column editor of C1FlexGrid does not work at all for me.
    See attached sample: Flex6ColumnEditor.zip

    a) adding is column is not possible through the property editor - I can add it, but it is ignored. It works if the property "Cols.Count" is set before - then a new blank column is created and I can modify it. So that is a minor issue as a workaround exists.

    b) modifying the caption of an existing column is not possible - it is discarded:

    And in my sample app, the fixed header row is not rendered.

    This is a major blocker. We actually planned to upgrade our application to .NET6 this summer, so I hope a workaround exists.
    Is it possible to create a .NET6 application and use the .NET framework 4.5.2 version of C1 dlls?

    Best regards

  • Replied 11 July 2022, 8:22 pm EST

    Hi Wolfgang,

    The issue with the column collection editor is already reported to the development team. The fix for this issue will be available in the upcoming 2022v2 release. The 2022v2 release will be available for download around the end of July.

    Also, we do not recommend using .NET 4.5.2 C1 controls in a .NET 6 application as the designers of these controls are not supported in a .NET 6 application. Also, using both the .NET 4.5.2 as well as .NET 6 C1 controls in a project can lead to conflicts between the C1 assemblies.

    [Internal Tracking ID: C1WIN-26548]

    Kind Regards,
  • Replied 4 August 2022, 11:07 pm EST

    Hi Wolfgang,

    We are happy to let you know that this issue has been fixed in the latest 2022v2 release (build 566). You can update to the latest version of C1 Controls from the ComponentOne Control Panel or directly install the latest C1 packages from NuGet.



    Thanks, and Kind Regards,
Need extra support?

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

Learn More

Forum Channels