I think you will need to implement some custom serializers. The framework does not know to to serialize every possible class type that you can create. I've not done this but I think that's what it is.
My suggestion is to throw the stuff into something that is natively serializable. Add the salient parts of the collection to an ArrayList or a DataTable or something and shove it ViewState or Session.
Andrew
> Before the Class that I use into a collection I marked it with <Serializable()> and it still does not work...
>
[quoted text clipped - 14 lines]
> > *** Sent via Devdex http://www.devdex.com ***
> > Don't just participate in USENET...get rewarded for it!
Take a look at this[1] post to learn how the viewstate serializer works and
what you can do in order to get your data serialized fast and with the
smallest possible footprint.
[1]
http://weblogs.asp.net/vga/archive/2004/05/11/DontLetTheBinaryFormatterGetAtIt.aspx

Signature
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
> I think you will need to implement some custom serializers. The framework does not know to to serialize every possible class type that you can create.
I've not done this but I think that's what it is.
> My suggestion is to throw the stuff into something that is natively serializable. Add the salient parts of the collection to an ArrayList or a
DataTable or something and shove it ViewState or Session.
> Andrew
>
[quoted text clipped - 16 lines]
> > > *** Sent via Devdex http://www.devdex.com ***
> > > Don't just participate in USENET...get rewarded for it!