I use radwindow on my silverlight application to show data from the users.
i use these code to create new windows.
RadWindow RadWindow_tmp = new RadWindow ();
Object RadWindow_tmp_Content = new Object();
RadWindow_tmp_Content = new uc_Employee("test", 7);
RadWindow_tmp.Content = RadWindow_tmp_Content;
RadWindow_tmp_Content =null;//no need for these line
when i close the window
i make the following
i make ( before GC.Collect();)
RadWindow MainRadWindow = RadWindow.GetParentRadWindow(this);
(MainRadWindow.Content as uc_Employee).DataContext = null;
MainRadWindow.Content = null;
alos i call "GC" (alos i use a timer to call it)
I also use WeakReference to see is the control and the radwindow isAlive.
after i close the window the radwindow is not on the memory
but the control "uc_Employee" still on the memory
on these case after several time the user open new radwindow the application also the computer crash.
please i need some help how i can release the control from the memory.
Is these bug on silverlight4. how i can solve the till we get SL5.