Mar 14, 2012, 12:39 PM
Unloading dynamically loaded UserControls
Hello,
I have a UserControl loaded into my Page dynamically by a DirectMethod.
Then I load another UserControl and remove the first UserControl also by a DirectMethod.
But when examining the DOM with Firebug, i notice, that the old UserControl, which is apperently no longer on the Page, is still there.
How can I cleanup the DOM concerning this issue?
Thanks so much,
bright
I have a UserControl loaded into my Page dynamically by a DirectMethod.
Then I load another UserControl and remove the first UserControl also by a DirectMethod.
But when examining the DOM with Firebug, i notice, that the old UserControl, which is apperently no longer on the Page, is still there.
How can I cleanup the DOM concerning this issue?
Thanks so much,
bright