Many Times it is required to close Refresh parent winsow then close Chield window without confirmation. It is very common senario. I know everybody knows it. But sometimes not remember. So i publish it.
When you refresh your parent page, that time you loose all view state data. Many times client want to see controls showing data. If so then you need to write code to maintain data of control. Then you may create any class which can store pages last data to session and when required it retrive data from that also.