I've written a composite control that inherits from the webcontrol class.
I've overrided the loadviewstate and saveviewstate. The first thing that
I've noticed is that both are called twice (instead of once as I would
expect). Why? Next, as an experiment, I have the control recurse by
creating an instance of itself. The parent loadviewstate and
saveviewstate acts as they should loading and saving an array of objects.
The child loadviewstate however seems to recieve a system.web.ui.pair
object rather than the array of objects that I expect. Why?