M
Mark Olbert
Tonight's episode of me beating my head bloody against the monitor was the result of ViewState/ControlState information not being
available when CreateChildControls() gets called for a CompositeControl.
So, my question is, >>why<< isn't ViewState/ControlState available before CreateChildControls() gets called by the Framework? Is it
just me, or does it seem really counterintuitive to be creating child controls on postback without the previously-stored state
information being available? Is it that ViewState/ControlState are associated with the controls themselves, so before the controls
are created the state data can't be made available?
- Mark
available when CreateChildControls() gets called for a CompositeControl.
So, my question is, >>why<< isn't ViewState/ControlState available before CreateChildControls() gets called by the Framework? Is it
just me, or does it seem really counterintuitive to be creating child controls on postback without the previously-stored state
information being available? Is it that ViewState/ControlState are associated with the controls themselves, so before the controls
are created the state data can't be made available?
- Mark