Serialize a UserControl


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.
 
Ad

Advertisements

T

Tom Shelton

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
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top