Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1170
UltraGridLayout not serializable
posted

Hi,

We have an ultragrid in which we bind different kinds of objects depending on an external property. We would like to have a save layout and update layout functionality through which we can save layouts for grid display for different objects in a single file. We have created a dictionary<typeOfObjectBindedToGrid, UltraGridLayout> and trying to xml-serialize it into a file.

It appears that the UltraGridLayout is not serializable and is returning error {"Infragistics.Win.UltraWinGrid.ColScrollRegion cannot be serialized because it does not have a parameterless constructor."}

Can you please let me know an elegant way to handle this keeping in view that the properties in the objects keep changing with the enhancements and the old layout file are loaded for the grids.

Thanks,

Puneet