發布時間:2016-12-28 21:05 作者:獨孤劍 閱讀:965
ScriptManager.RegisterStartupScript(ajaxPanel, ajaxPanel.GetType(), "", "alert('保存成功!');reftxt();", true); Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script>alert('保存成功!');</script>"); // 彈出提示 //Response.Write(" <Script Language=Javascript>alert('上傳超限(500 × 500,500K)') </Script>"); Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script>alert('上傳超限(500 × 500,500K)');</script>"); // 設置按鈕可用 RegisterStartupScript("", "<script>document.getElementById('ReleaseHaHaBntIn').disabled = false</script>"); // 刷新UpdatePanel 中的js引用函數 <script>initImage();</script> ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "", "initImage();", true);
微信打賞, 微信掃一掃
支付寶打賞, 支付寶掃一掃
如果文章對您有幫助,歡迎給作者打賞