Finally Found the Way:
Here is a code that refresh parent window and closes the the popup in one operation.
<script language="JavaScript">
<!--
function refreshParent() {
window.opener.location.href = window.opener.location.href;
if (window.opener.progressWindow)
{
window.opener.progressWindow.close()
}
window.close();
}
//-->
</script>
or This One
window.opener.location.reload()
OR
<BODY onload=""window.close(); window.opener.location.reload(true);"">
OR
place this in the pop-up's <body> tag:
onunload="window.opener.location.reload();
OR
<a href="#" onclick="opener.window.location.reload();self.close();return false;">Close</a>
OR
I prefer to use :
window.opener.location = window.opener.location INSTEAD of window.opener.location.reload()
this way it avoids displaying an IE alert box on certain browsers asking if you want to retrieve the values from the server again...
And window.opener.location.reload(1) will force loading from server instead of cache
older browsers dont support the reload() function i suppose:
<a href="#" onclick="opener.window.location=opener.window.location;self. close();return false;">Close</a>
(Simple Internet Search resault)

