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:
ganttView = null;
radCartesianChart = null;
//System.GC.WaitForFullGCComplete(); (Any of this two works)
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)??