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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridTableDescriptor Serialization and GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

57544 Mar 6,2007 02:09 PM UTC Mar 6,2007 05:48 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 6, 2007 02:09 PM UTC

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 05:48 PM UTC


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.

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

;