How do you close a pop up window and refresh the parent window....
Thanks,
JSha
Depends on how the child window is created/closed. If you used:
ParentWindow.ShowDialog(PopUpWindow);
Then you could just follow that line with
ParentWindow.Refresh();
(or ParentWindow.Update()... I cant remember which line now).
But you would have to either
A) Wait for the user to close the pop up window
B) Have code in the pop up window to close itself
C) Have a seperate thread on the ParentWindow to close that instance of the PopUpWindow when you are ready
If none of those three conditions are met, the code will stop (for the parentwindow) at the showdialog line.