I have an application with potential thousands of views (as radpanes with a single usercontrol) and therefore need to make sure they can be cleaned-up, when they are not needed anymore.
I had some trouble with the radpanes, but eventually got it working for most of my views.
However I have run into problems with views containing charts.
What I have come up with is that the trackball keeps a reference to the usercontrol containing the chart. So while I manage to get rid of the radpane, the usercontrol is beeing kept in memory.
With a memory-profiler I have found out that the offending class is Telerik.Windows.Controls.ChartView.DataPointInfo, which apparantly has some valueChangedHandlers that are not cleaned up.
I have given up trying to clean these up myself, so I really hope you have a fix for this in the works.
Is this something you are working on?
Best regards
Christian M. Madsen
I had some trouble with the radpanes, but eventually got it working for most of my views.
However I have run into problems with views containing charts.
What I have come up with is that the trackball keeps a reference to the usercontrol containing the chart. So while I manage to get rid of the radpane, the usercontrol is beeing kept in memory.
With a memory-profiler I have found out that the offending class is Telerik.Windows.Controls.ChartView.DataPointInfo, which apparantly has some valueChangedHandlers that are not cleaned up.
I have given up trying to clean these up myself, so I really hope you have a fix for this in the works.
Is this something you are working on?
Best regards
Christian M. Madsen