Hello ,
I have an pop up which open on button click event through which adding some data.The code for opening pop up is as follows
<script type="text/javascript">
function GetData() {
var url = "abcd.aspx";
var popupSetting = "center=yes,height=400,width=550,toolbar=no,directories=no,status=no,scrollbars=no,resizable=0,menubar=no,location=no,minimizable=no,maximizable=no,dialog=yes,modal=yes";
var pmx = window.open(url, 'abcd', popupSetting);
}
</script>
And making the parent page to referesh while inserting or updating the record from pop up window.the code is as follows.
<script type="text/javascript">
function Close() {
window.opener.location.reload();
}
</script>
But the problem is that whenever an pop up window is closed,the parent page again fires the last click event and again open the pop up window.Please tell me can i solve this..