页面的打开一个新的网页 popus.js界面


StringBuilder s = new StringBuilder();
            s.Append("<script language=javascript>");
            s.Append("window.parent.document.getElementById('dialogCase').style.display = 'none';window.parent.document.location.reload();");
            s.Append("</script>");
            Type cstype = this.GetType();
            ClientScriptManager cs = Page.ClientScript;
            string sname = "lt";
            if (!cs.IsStartupScriptRegistered(cstype, sname))
                cs.RegisterStartupScript(cstype, sname, s.ToString());

posted @ 2014-06-05 16:24  高珊珊  Views(589)  Comments(0)    收藏  举报