BinaryFormatter question

Hi!

I am using the BinaryFormatter to serialize an object. One of the subobjects of this object is an instance of a class that derives from System.Windows.Forms.RadioButton.

I get an exception telling me, "The System.Windows.Forms.RadioButton is not marked as serializable."

Is there a way around this

Regards
Leyan



Answer this question

BinaryFormatter question

  • tattoo

    You where not fast enough. =)

    Solved it. I was able to extract the RadioButton part and create the RadioButton after serialization or deserialization.

    /Leyan


  • BinaryFormatter question