C1FlexGrid Problems with WriteXml

Posted by: cnoelle on 19 May 2022, 9:56 am EST

  • Posted 19 May 2022, 9:56 am EST

    New C1.Win.C1FlexGrid.4.5.2 Version 4.5.20203.468 hangs with very old code:

    Dim mm As New IO.MemoryStream
                flex.WriteXml(mm)
                mm.Position = 0  
                anotherflex.ReadXml(mm)
                mm.Flush()
                mm.Close()
    

    struggles with:

    System.ArgumentNullException: Value cannot be NULL.

    Parametername: encoder

    Could be, that there are some VB-"nothing"s inside the cells, but why does it pop up now?

  • Posted 20 May 2022, 3:10 am EST

    Hi,

    We could not replicate the issue at our end. Kindly refer to the attached sample showing the behavior at our end. If you are doing something different, please provide a sample or update the attached sample to replicate the issue, so we can investigate accordingly and assist you in the best way possible.

    WriteXml_FG.zip

    Kind Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels