J
jon
I'm trying to establish how to replace a usercontrol that has already
been loaded (using LoadControl in the Page.Load event) with a
different UserControl following a PostBack. Tying to call
LoadControl(<newControlName>) after the Page.Load routine has finished
does not appear to work. The only way I can think of doing this is to
call Server.Transfer or Request.Redirect to start a new instance of
the form but this means I loose ViewState for the existing form which
I want to retain.
I need a means of re-firing the Page.Load routine after it has occured
without user ineraction.
Any thoughts greatly appreciated.
jon
been loaded (using LoadControl in the Page.Load event) with a
different UserControl following a PostBack. Tying to call
LoadControl(<newControlName>) after the Page.Load routine has finished
does not appear to work. The only way I can think of doing this is to
call Server.Transfer or Request.Redirect to start a new instance of
the form but this means I loose ViewState for the existing form which
I want to retain.
I need a means of re-firing the Page.Load routine after it has occured
without user ineraction.
Any thoughts greatly appreciated.
jon