ViewState vs WebControls !!!

  • Thread starter Patrick Beaudoin
  • Start date
P

Patrick Beaudoin

Hi,
when I try to use the view state with a Table
WebControl, I have this Error message:

The type 'System.Web.UI.Web.Controls.Table' must be
marked as Serializable or have a TypeConverter other than
ReferenceConverter to be put in viewstate.

Could you tell me what is the TypeConverter or how
can I mark the object as Serializable
 
A

Alvin Bruney

add the attribute [serilizeable] to your method declaration. I think this is
a symptom of a deeper problem though meaning that serializeable won't give
you a fix.
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top