關閉子視窗,刷新父視窗(重新整理) & 刪除確認視窗

摘要:關閉子視窗,刷新父視窗(重新整理)


this.Page.Controls.Add(new LiteralControl("<script>window.opener.location.replace(window.opener.location); window.close();</script>"));

 

刪除確認視窗


btn.Attributes.Add("onclick", "javascript:return confirm('確定要刪除?" + "');");