1.新建一个按钮
<asp:Button ID="btnFresh" runat="server" Text="" OnClick="btnFresh_Click" />
2.JS
<script type="text/javascript">
function btnFreshData() {
document.getElementById("btnFresh").click();
}
</script>
Son
1.cs
ClientScript.RegisterStartupScript(Page.GetType(), "", "<script language=javascript>window.opener.btnFreshData();window.open('','_self');window.close();</script>");