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
close icon

GridTableDescriptor Serialization and GGC

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

1 Reply

AD Administrator Syncfusion Team March 6, 2007 05:48 PM UTC


Loader.
Live Chat Icon For mobile
Up arrow icon