cyberhedgehog

导航

2009年4月20日

UpdatePanel使用脚本

摘要: 其实就一句话的事 ScriptManager.RegisterStartupScript(this.UpdatePanel1,this.GetType(), "HelloWorld", "alert('The page has loaded!')",true); 再次强调在UpdatePanel里... 阅读全文

posted @ 2009-04-20 17:34 HedgeHog 阅读(589) 评论(0) 推荐(0) 编辑

Ajax的UpdatePanel内弹出窗口问题

摘要: 在ajax中的UpdatePanel弹出对话窗,可以使用: ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "alert", "alert('更新成功!')", true); 修改后跳到另一个页面中去时,可以使用: ScriptManager.RegisterStartupScript(UpdatePane... 阅读全文

posted @ 2009-04-20 17:33 HedgeHog 阅读(275) 评论(0) 推荐(0) 编辑