M
mortb
I have a class that I want to serialize to into the viewstate of an aspx
form.
I've specified the [Serializable] attribute on top of the class definition,
compiled but when I browse the page I get an excepiton that the class must
be marked as Serializable.
Can this have something to do with some of the members not beeing of
serializable types? I thought it would be neat to put my custom object in
the viewstate. How do I solve this?
Does anyone have a link that provides me with some in depth information
about this?
cheers,
mortb
form.
I've specified the [Serializable] attribute on top of the class definition,
compiled but when I browse the page I get an excepiton that the class must
be marked as Serializable.
Can this have something to do with some of the members not beeing of
serializable types? I thought it would be neat to put my custom object in
the viewstate. How do I solve this?
Does anyone have a link that provides me with some in depth information
about this?
cheers,
mortb