‘Class’ must be marked as Serializable or have a TypeConverter other than ReferenceConverter to be put in viewstate.
What a PITA. If you want to store an object in the viewstate in ASP.net you need to make sure it is marked as Serializable. Not only that, you need to make sure that every class that it uses is marked as serializable. There are some scenarios that you don’t have to thought: if you [...]
View Comments | 1,304 views
