At what point does LoadControlState method get fired?

  • Thread starter Thread starter danny.agle
  • Start date Start date
D

danny.agle

I've been trying to resolve an issue with a user control not
maintaining its state on a web page after a postback. I reviewed
http://msdn2.microsoft.com/en-us/library/1whwt1k7.aspx and am following
fairly closely.

When I place breakpoints in the OnInit, SaveControlState, and
LoadControlState methods, the LoadControlState event never fires. The
other two methods work just fine and behave as I expect.

protected override void LoadControlState(object state)

One concern I have is that I have placed the user control in a
WizardStep of the Wizard control. Could this be impacting the
LoadControlState() in some way?
 
Back
Top