这是我打开警报的代码我想要的是,当我按下处于警报状态的“确定”时,我可以调用方法/函数。
ClientScriptManager CSM = Page.ClientScript;
string strScript = "<script>";
strScript += "alert('There is no Bookmarked Question Available');";
strScript += " document.getElementById('btnReview').onclick=true";
strScript += "</script>";
ScriptManager.RegisterStartupScript(this, this.GetType(), "Startup", strScript, false);