Clicking a button will call the below JavaScript function, which opens a aspx popup.
<script type="text/javascript">
function btnName_onclick() {
window.open("UpdateEmployee.aspx?empId=" + empId,
"UpdateEmployeeWindow", "width=800,height=450,scrollbars=yes,resizable=yes");
}
</script>
If the update go well, I'd like to do 2 things:
- Close the popup
- Reload the parent page
I've tried Response.Redirect, but I'm getting the parent page also display in the popup. Is there another way to do obtain that?
Thanks for helping