Studio for Silverlight

c1htmlhost

  •  C1Guest_606512 said 2 years, 7 months ago:

    I have decided to use yours
    C1HtmlHost In work! In it I place SourceHtml = "Test"
    … When I create in ChildWindow
    I close ChildWindow
    I create ChildWindow
    I close ChildWindow?
    I create ChildWindow
    …..
    Also I repeat some times.
    Each time all opens more slowly and more slowly!

  •  C1_LeoV23p said 2 years, 7 months ago:

    Sorry, one question, is the C1HtmlHost inside the ChildWindow?

  •  C1Guest_606512 said 2 years, 7 months ago:

    yes!

  •  C1_MaxM7p said 2 years, 7 months ago:

    I could reproduce the issue by creating a new ChildWindow with a new HtmlHost each time. The problem is that the LayoutUpdated event in closed ChildWindow keeps getting fired even after the window is closed. To work around the issue you can set the window's Content to null when the window is closed:

    window.Closed += delegate { window.Content = null; };

  •  C1_LeoV23p said 2 years, 7 months ago:

    I assume this thread is closed.

    Regards

    Answer
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.