After a page loads a user control, is there a way to remove the user control and replace it with a different one, without doing a browser refresh?
Asked
Active
Viewed 584 times
1 Answers
0
If you do it in an event before ViewState is finalized. Set up both in codebehind, use a placeholder in the page, and swap out the controls accordingly...look up the page lifecycle events - I think you need to do it in an event before Load executes because by then ViewState is established.

Tim
- 4,051
- 10
- 36
- 60