Hi,
I have read with interest all the threads and comments on this forum regarding "serialization," with particular attention to exchanges in early 2008 such as :
http://www.telerik.com/community/forums/winforms/treeview/treeview-serializable.aspx#450955
Where Peter of Telerik commented : "You could try to create your own class that implements ISerializable and contains the data you want to store in the Tag property" in response to a query about trying to save strings stored in the Tag of a TreeNode as XML.
I've implemented a class that inherits from ISerializable, and has the mandatory Attributes and Security Permissions, and builds fine, but it breaks the TreeView XML parser or writer.
In my opinion the lack of abilitiy to save strings in Node tags is a real deficit in the TreeView.
Just curious if any changes are happening in this area of functionality. Obviously, as Peter demonstrated (see the linked article above), some objects, like DateTime are easily serializable. But Arrays of string, for example, while theoretically serializable, do not serialize ... but they do not cause an error, either.
Appreciate any clear statement about what is and is not serializable at this time, and in any future planned changes.
thanks, Bill
I have read with interest all the threads and comments on this forum regarding "serialization," with particular attention to exchanges in early 2008 such as :
http://www.telerik.com/community/forums/winforms/treeview/treeview-serializable.aspx#450955
Where Peter of Telerik commented : "You could try to create your own class that implements ISerializable and contains the data you want to store in the Tag property" in response to a query about trying to save strings stored in the Tag of a TreeNode as XML.
I've implemented a class that inherits from ISerializable, and has the mandatory Attributes and Security Permissions, and builds fine, but it breaks the TreeView XML parser or writer.
In my opinion the lack of abilitiy to save strings in Node tags is a real deficit in the TreeView.
Just curious if any changes are happening in this area of functionality. Obviously, as Peter demonstrated (see the linked article above), some objects, like DateTime are easily serializable. But Arrays of string, for example, while theoretically serializable, do not serialize ... but they do not cause an error, either.
Appreciate any clear statement about what is and is not serializable at this time, and in any future planned changes.
thanks, Bill