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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SaveBinary on GridControl

Thread ID:





8550 Nov 11,2003 02:45 PM UTC Jan 20,2004 06:00 AM UTC WinForms 9
Tags: GridControl
Trevor Moody
Asked On November 11, 2003 02:45 PM UTC

I am trying to save the settings on my GridControl using SaveBinary but encounter this error: The type Syncfusion.Drawing.BrushInfoColorArrayList in Assembly Syncfusion.Shared, Version=, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89 is not marked as serializable. Previously I used version 1.6? where it was working. Now am using version 2.0.04 but I've also made some changes since then. Any suggestions would be helpful.

Administrator [Syncfusion]
Replied On November 11, 2003 04:52 PM UTC

This is a bug that we have corrected here. A new build of the 2.0 code base should be available in about a week.

Trevor Moody
Replied On November 25, 2003 01:22 PM UTC

I've tried running under Syncfusion but still get the same error. Can you help? Thanks.

Administrator [Syncfusion]
Replied On November 25, 2003 08:14 PM UTC

I am sorry, but I think you will have to wait until our next release. It is coming...

Replied On November 26, 2003 03:44 AM UTC

Version has this bug fixed. >I am sorry, but I think you will have to wait until our next release. It is coming... >

Administrator [Syncfusion]
Replied On January 14, 2004 07:41 AM UTC

When is the new version coming out?

Administrator [Syncfusion]
Replied On January 14, 2004 09:41 AM UTC

The beta version was released earlier this week. http://www.syncfusion.com/support/updates.aspx#NewBeta

Administrator [Syncfusion]
Replied On January 19, 2004 04:06 PM UTC

The SaveBinary works now. However, when I use LoadBinary on the gridControl, the CommandStack.Undo() command which is used to undo any style settings doesn''t work. Can you advise? Thanks.

Administrator [Syncfusion]
Replied On January 19, 2004 08:47 PM UTC

Do you want future changes (after a LoadBinary) to be undoable? If so, you can do something like private void button1_Click(object sender, EventArgs e) { //load from file this.gridControl1.Model = GridModel.LoadBinary(@"c:\mygrid.grd"); this.gridControl1.CommandStack.Enabled = true; } If you want to undo changes loaded from within LoadBinary, this is not supported by the default grid and property settings. If you will explain more about what you need, there may be some solution we could suggest.

Administrator [Syncfusion]
Replied On January 20, 2004 06:00 AM UTC

It was to undo future changes. I had the CommandStack.Enabled command before the LoadBinary and that didn''t work but putting it after did. Thanks.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon