Dear all,
I am serializing the state of my docks using xml serializer (also tried javascriptserializer).
However, not all the values are deserialized correctly. For instance, width and height of the docks are being lost.
This is an example of the object before serialization and after deserialization:
+ [0] {"UniqueName":"5eb163f6a40aaa4e42a8b15a3c768b30db0f","DockZoneID":"ctl00_contentpane_Top","Width":"250px","Height":"250px","ExpandedHeight":"0","Top":"0px","Left":"0px","Resizable":"False","Closed":"False","Collapsed":"False","Pinned":"False","Title":"Campaigns Distribution(Promised)","Text":"Added at 5/15/2009 12:40:52 PM","Tag":"~/Development/Controls/DeveloperCampaignDistribution.ascx","Index":"0"} Telerik.Web.UI.DockState
- [0] {"DockZoneID":"ctl00_contentpane_Top","Width":"","ExpandedHeight":"0","Height":"","Index":"0","Top":"","Left":"","Closed":"False","Resizable":"False","Collapsed":"False","Pinned":"False","UniqueName":"5eb163f6a40aaa4e42a8b15a3c768b30db0f","Tag":"~/Development/Controls/DeveloperCampaignDistribution.ascx","Title":"Campaigns Distribution(Promised)","Text":"Added at 5/15/2009 12:40:52 PM"} Telerik.Web.UI.DockState
How can I restore the width?
If you need code example, you can find it the previous support ticket.
Thank you.
I am serializing the state of my docks using xml serializer (also tried javascriptserializer).
However, not all the values are deserialized correctly. For instance, width and height of the docks are being lost.
This is an example of the object before serialization and after deserialization:
+ [0] {"UniqueName":"5eb163f6a40aaa4e42a8b15a3c768b30db0f","DockZoneID":"ctl00_contentpane_Top","Width":"250px","Height":"250px","ExpandedHeight":"0","Top":"0px","Left":"0px","Resizable":"False","Closed":"False","Collapsed":"False","Pinned":"False","Title":"Campaigns Distribution(Promised)","Text":"Added at 5/15/2009 12:40:52 PM","Tag":"~/Development/Controls/DeveloperCampaignDistribution.ascx","Index":"0"} Telerik.Web.UI.DockState
- [0] {"DockZoneID":"ctl00_contentpane_Top","Width":"","ExpandedHeight":"0","Height":"","Index":"0","Top":"","Left":"","Closed":"False","Resizable":"False","Collapsed":"False","Pinned":"False","UniqueName":"5eb163f6a40aaa4e42a8b15a3c768b30db0f","Tag":"~/Development/Controls/DeveloperCampaignDistribution.ascx","Title":"Campaigns Distribution(Promised)","Text":"Added at 5/15/2009 12:40:52 PM"} Telerik.Web.UI.DockState
How can I restore the width?
If you need code example, you can find it the previous support ticket.
Thank you.