Serialize a UserControl

  • Thread starter Thread starter Ale K.
  • Start date Start date
A

Ale K.

Hi, i got the following problem, i'm trying to serialize a usercontrol, but
when i run my rutine for serializing i run into the following error:

The type System.Windows.Forms.UserControl in Assembly System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 is not
marked as serializable

What can i do??

Thanks.
Alex.
 
Ale said:
Hi, i got the following problem, i'm trying to serialize a usercontrol,
but when i run my rutine for serializing i run into the following error:

The type System.Windows.Forms.UserControl in Assembly
System.Windows.Forms, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 is not marked as serializable

What can i do??

Thanks.
Alex.

Inherit from user control and mark it as serializable...

Tom Shelton
 
Back
Top