Hi everyone,
I am having troubles with the memory. I am developing a usercontrol in WPF to put it in a WinCC (Siemens) application. WinCC accepts WPF controls to be putted in its forms.
When I load my control in one of its pictures (they call pictures to any of its instances) my control gets load correctly. But when I go to another pic and come back to the pic of my control, it isn't load correctly the telerik controls.
I have tried to put every telerik control equal null, and remove them from their parents. it isn't work:
gridGanttView.Children.Remove(ganttView);
ganttView = null;
gridChart.Children.Remove(radCartesianChart);
radCartesianChart = null;
System.GC.Collect();
//System.GC.WaitForFullGCComplete(); (Any of this two works)
System.GC.WaitForPendingFinalizers();
I have seen there are people having the same problem like here: LINK
Any Solution? How can I step by step delete every control inside of RadGanttView and RadCartesianChart (or another ones)??
Thanks.