R
Ralf Müller
Hi folks!
I am developing a custom TreeView and I have got a problem with the
serialization of my TreeViewModel:
From that model I fire DataChangedEvents but as soon as I set a Control
(here: my TreeView) to handle this DataChangedEvent, the model cannot be
serialized anymore. I guess that is because my TreeViewControl is not
serializable.
What I am asking myself (and you) now is the following: Should I really make
a Control serializable? I don't think it is a good pratice to do so since
none of the built in ASP.NET WebControls seems to be serializable. What can
I do apart from serializing?
Thanx in advance!
Greetings, Ralf
I am developing a custom TreeView and I have got a problem with the
serialization of my TreeViewModel:
From that model I fire DataChangedEvents but as soon as I set a Control
(here: my TreeView) to handle this DataChangedEvent, the model cannot be
serialized anymore. I guess that is because my TreeViewControl is not
serializable.
What I am asking myself (and you) now is the following: Should I really make
a Control serializable? I don't think it is a good pratice to do so since
none of the built in ASP.NET WebControls seems to be serializable. What can
I do apart from serializing?
Thanx in advance!
Greetings, Ralf