子页面刷新及调用父页面方法
main.aspx:
<form runat="server" id="form1">
.....
<asp:Button id="btn1" runat="server" style="display:none" />
</form>
child.aspx:
window.opener.document.form1.submit();
or
window.opener.document.all("btn1").click();//Response.Write("<script>window.opener.document.all('refresh').click(); if(confirm('保存数据成功!')) window.close();</script>");