M
Matteo Migliore
Hi.
I'm building a custom control
that contain a property that is a
custom collection.
This custom collection return
as element an object of class A.
Class A contain a property that is
of the same type of the collection up.
The problem is I use ViewState to
mantain status of the collection but
at each postback it become null.
ViewState works well for other
property of the control.
I've also tried to serialize the
collection into a file and works too.
How to solve?
Thanks,
Matteo Migliore.
I'm building a custom control
that contain a property that is a
custom collection.
This custom collection return
as element an object of class A.
Class A contain a property that is
of the same type of the collection up.
The problem is I use ViewState to
mantain status of the collection but
at each postback it become null.
ViewState works well for other
property of the control.
I've also tried to serialize the
collection into a file and works too.
How to solve?
Thanks,
Matteo Migliore.