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

radpane ishidden memory retained

1 Answer 57 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Aurore
Top achievements
Rank 1
Aurore asked on 16 May 2011, 04:27 PM
Hello,

I have an object on a RadPane with ishidden biding abitlity.
If i hide the radpane, and then unload the dockpanel all is ok, my object is not retained by the pane.

But if i only unload the dockpanel, all my object is retained !!!

Have you an idea ?

Aurore

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 19 May 2011, 03:20 PM
Hi Aurore,

Could you please give us some more details about the issue you are experiencing?
- How do you bind the IsHidden property, what do you bind it to, etc.? If you could share some code for this it would be very helpful.
- What does it mean that you unload the Docking control? Do you remove it from the layout of the page? If yes, does it have x:Name set?
- What do you mean that your object is retained? If you are testing does anyone keeps reference to your object, this is normal as the RadPane's IsHidden property keeps reference to a binding expression which keeps reference to your object. Now it depends how you unload the Docking control - this might cause the Docking control to stay in the memory. If you remove the Docking from the layout correctly there is one more thing - the current version of the Docking control has a memory leak which is fixed in our pre-beta version (you can find it here).

All the best,
Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Aurore
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or