C1Datagrid.Save throws an exception

Posted by: stj on 1 February 2018, 6:24 am EST

    • Post Options:
    • Link

    Posted 1 February 2018, 6:24 am EST

    Hi there,

    When I try to save a C1Datagrid to an Xlsx file I get this exception:

    Could not load file or assembly ‘C1.WPF.Bitmap.4, Version=4.0.20172.566, Culture=neutral, PublicKeyToken=2aa4ec5576d6c3ce’ or one of its dependencies. The system cannot find the file specified.

    Could you please tell me what the dependencies are so I can fix the problem?

    Best regards,

    SteffenJ

  • Posted 2 February 2018, 5:00 am EST

    Hi SteffenJ,

    Saving grid to excel does not depend on this dll. It just requires C1.WPF.DataGrid.Excel.4 assembly to be added in the project.

    Please remove the reference to C1.WPF.Bitmap.4 dll from your project and then try adding it again from the following location:

    C:\Program Files\ComponentOne\WPF Edition\bin\v4

    Save and rebuild the solution.

    Thanks,

    Pragati

  • Posted 5 February 2018, 8:42 am EST

    Hi Pragati,

    Thank you for returning.

    I have followed your suggestions and now I am rolling.

    Thank you for your help!

    Best regards,

    SteffenJ

  • Posted 5 February 2018, 11:25 pm EST

    SteffenJ,

    I am glad to know that I could help :slight_smile:

    ~Pragati

Need extra support?

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

Learn More

Forum Channels