2017-07-15 52 views
-1

如何显示alert,等待时间,然后在ASP.net和C#中关闭窗口?如何等待一段时间asp c#?

代码:

ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('insert done ......')", true); ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Wait", "window.setTimeout('', 1);", true); ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Close", "window.close()", true);

+0

我的回答帮助Majd吗? – hardkoded

回答

相关问题