ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "click", "var width=Math.round((window.screen.width-380)/2);var height=Math.round((window.screen.height-150)/2);window.open('UnBanding.aspx?id=" + id + "&t=v','unbing','height=150, width=380, top='+height+', left='+width+', toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no');", true);
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "click", "window.alert('操作成功!');window.opener.location.href=window.opener.location.href;window.close();", true);