Unloading dynamically loaded UserControls

  1. #1

    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
  2. #2
    remove the first UserControl also by a DirectMethod.
    Can you define exactly what you do to "remove" the UserControl.

    A simplified .aspx code sample demonstrating the scenario would help us test the issues.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Managing events from a dynamically loaded UserControl
    By egvt in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 20, 2012, 4:49 PM
  2. Replies: 4
    Last Post: Feb 01, 2012, 8:37 AM
  3. [CLOSED] Dynamically loaded pages issue in Chrome and Firefox
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Dec 08, 2011, 6:24 PM
  4. Replies: 2
    Last Post: Dec 08, 2011, 1:00 PM
  5. Replies: 2
    Last Post: Feb 10, 2010, 10:45 AM

Posting Permissions