Hi helpful folks and gurus
I have been developing an application which uses a derived class inherited from TreeView, with the aim of putting custom objects on the nodes. The method I have been using is to have a variable array against the node (of type object) which contains
variables in custom classes to contain each of the variables associated with the node.
The two problems I had to overcome were, how to serialize a TreeView, and how to serialize an array of objects (of variable type). Good thing is I overcame both of these with some work of some other folks (and 3 days of my own work).
Object Array (NOT of variable type). adapted to variable type: http://www.codeproject.com/KB/XML/xmlserializerforunknown.aspx
Serialization works a charm.. Deserialization naddah.. Can find no sufficent documentation for me to debug and work on manual deserialization (of only one variable, the variable array of objects). All others are handled by the regular deserializer.
Effectively the xmlserializerforunknown URL provided a solution which manually handles both the type handling and the handling of the object array.
The main error I'm having lies in the ReadXml, function. I just can't align the xml with the code.
View Complete Post