MediaElements Unloading

4 posts, 0 answers
  1. Kirk
    Kirk avatar
    28 posts
    Member since:
    Jun 2012

    Posted 14 Sep 2011 Link to this post

    I am currently having an issue in an application I am working on where I am utilizing MediaElements. The MediaElements are in a RadDocking control. When I switch tabs so the they are not being displayed they are unloaded. I can confirm this because the Unloaded Event is fired. I found a thread where someone was having a similar issue due to virtualization. I have looked through the Docking control though and cant find anywhere that virtualization is turned on.
  2. Kirk
    Kirk avatar
    28 posts
    Member since:
    Jun 2012

    Posted 14 Sep 2011 Link to this post

    From further investigation it does seem like when the tab is not being displayed everything inside it is unloaded. Is this something that can be turned off?
  3. DevCraft banner
  4. Kirk
    Kirk avatar
    28 posts
    Member since:
    Jun 2012

    Posted 15 Sep 2011 Link to this post

    I have started a new thread with a more specific title and question for this issue. Please see thread here.

    http://www.telerik.com/community/forums/silverlight/docking/docking-tabs-unloading.aspx
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 17 Sep 2011 Link to this post

    Hi Kirk,

     I answered you in the other thread as well. As you correctly noticed this behavior is by design and it could be switched off by setting the IsContentPreserved property of the RadPaneGroup. For more information about this feature you could refer to this help article. As this feature had a bug in the official release I would suggest you to use the latest internal build. The fix will be officially released at the end of this month.
    Please noticed that preserving the content will preserve it only between tab changes, but dragging a pane out will unload and reload the content. This behavior cannot be changed.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top