[ASP.NET] 彈跳視窗

  • 4618
  • 0
  • 2009-09-10

摘要:[ASP.NET] 彈跳視窗

分成兩種:一種是updatepanel內的,另一種反之。

ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "alert", "alert('我是訊息')", true);

ClientScriptManager cs = Page.ClientScript;
cs.RegisterStartupScript(this.GetType(), "alert", "alert('我是訊息')", true);

記錄一下 每次記錄的工具欄 都不見 我好心庝。。。。難道我的還是只有記事本可以陪我嗎~至少他不會拋下我~