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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top