This is a migrated thread and some comments may be shown as answers.

MediaElements Unloading

3 Answers 56 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Kirk
Top achievements
Rank 1
Kirk asked on 14 Sep 2011, 10:19 PM
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.

3 Answers, 1 is accepted

Sort by
0
Kirk
Top achievements
Rank 1
answered on 14 Sep 2011, 10:46 PM
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?
0
Kirk
Top achievements
Rank 1
answered on 15 Sep 2011, 07:50 PM
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
0
Miroslav Nedyalkov
Telerik team
answered on 17 Sep 2011, 11:14 AM
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 >>

Tags
Docking
Asked by
Kirk
Top achievements
Rank 1
Answers by
Kirk
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or