We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to read back files generated using GridModel.SaveBinary with grid version 3.3 or earlier?

 

Loading the Gird with a SOAP/Binary file generated with an older version (3.3 or earlier) had a bug. Loading the SOAP has been corrected for 4.1 version. But if you are loading a binary file, please use the attached tool - ConvertBinaryGridModelToSoap.

ConvertBinaryGridModelToSoap:

ConvertBinaryGridModelToSoap fixes a problem that serialization is broken when a GridBaseStylesMap was serialized out. In that specific case full type information of the object was written out which causes a problem when we want to read back that file after upgrading Essential Grid to a newer version.

The specific problem has been fixed for version 4.1 but reading back these faulty files is only possible if we convert them to SOAP files.

With SOAP files Essential Grid has a workaround implemented within its LoadSoap method that fixes the problem. This allows us to read back files from older versions even if they have full type information serialized out.

ConvertBinaryGridModelToSoap automates the process to convert one or multiple files to soap. In its command line we need to specify the files we need to convert the soap and the extension that should be used for the files.

The source code for ConvertBinaryGridModelToSoap must be compiled first with the same version of Essential Grid that the file was written out with. Only then it will be able to read back in the binary serialized file.

Article ID: Published Date: Last Revised Date: Platform: Control:
683 04/30/2011 02/08/2017 Windows Forms GridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.