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.

GridTableDescriptor Serialization and GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

57544 Mar 6,2007 09:09 AM Mar 6,2007 12:48 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 6, 2007 09:09 AM

I have a control with a GGC. Now I want to serialize my control and therefore also all properties made on the grid component (especially the table descriptor).

My serialization method looks something like this:

PropertyDescriptorCollection props = TypeDescriptor.GetProperties(this);
foreach (PropertyDescriptor property in props)
{
if (property != null && property.ShouldSerializeValue(this) && property.PropertyType.IsSerializable)
{
object propValue = property.GetValue(this);
info.AddValue(property.Name, propValue);
}
}

props = TypeDescriptor.GetProperties(this.GridCtrl);
foreach (PropertyDescriptor property in props)
{
if (property != null && property.ShouldSerializeValue(GridCtrl) && property.PropertyType.IsSerializable)
{
object propValue = property.GetValue(GridCtrl);
info.AddValue("Grid." + property.Name, propValue);
}
}

// -----------------------
GridTableDescriptor Serialization ?????????


So what can I do to handle this issue?

Cheers

Administrator [Syncfusion]
Replied On March 6, 2007 12:48 PM


CONFIRMATION

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.

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.

;