InvalidOperationException when using C1FlexGrid

Posted by: minh.nh on 10 February 2023, 8:20 pm EST

  • Posted 10 February 2023, 8:20 pm EST

    I am using WPF C1FlexGrid v4.0.20162.524.

    When start a window that contains C1FlexGrid the following error is displayed.

    An unhandled exception of type 'System.InvalidOperationException' occurred in WindowsBase.dll
    Additional information: Cannot use a DependencyObject that belongs to a different thread than its parent Freezable.

    If I upgrade C1 version to 2016.3(533) the problem disappeared.

    Is there any change between v2016.2 and v2016.3 regarding C1FlexGrid?

    Thanks in advance.

  • Posted 12 February 2023, 11:51 pm EST

    Hello Nammae,

    We do not face such issues at our end with your mentioned builds. Please see the attached sample implementing the same. And if you are doing anything else then please let us know and modify the sample accordingly.

    You can refer to the following release history doc to see the changes:

    **Note: **The version that you are using is quite old and out of support so we suggest you to upgrade to the latest version for continued support.


    Prabhat Sharma.

Need extra support?

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

Learn More

Forum Channels