摘要: protected void Button1_Click(object sender, EventArgs e) { //关闭按钮 //关闭页面--要弹出提示(IE6及以下不弹出提示) ClientScript.RegisterStartupScript(Page.GetType(), "", "<script language=javascript>window.opener=null;window.close();</script>"); //不弹出提示直接关闭页面 ClientScript.RegisterStartupSc 阅读全文
posted @ 2011-04-27 12:31 陆宗轩 阅读(28034) 评论(3) 推荐(4) 编辑