下面是我的代碼,關閉頁面加載彈出窗口也我想向用戶顯示一個消息框PLZ登錄以及我的彈出窗口變得接近,但它在屏幕上閃爍是否有任何方法來阻止做那。彈出窗口閃爍
StringBuilder sb = new StringBuilder();
sb.Append("<script>");
sb.Append("window.close();");
sb.Append("</script");
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "test", sb.ToString(), false);
MessageBox.Show("Please Sign In first...", "Login Message", MessageBoxButtons.OK, MessageBoxIcon.Question);
return;
更多標籤請 – Snowbear