set home page
Added to the favorites
All articles(网络文学目录)
All Pictures(图片目录)
All Softwares(软件目录)
asp.net,ajax,使用updatepanel进行更新后的提示_.net资料_编程技术
Writer:
aaa
Article type:
Programming skills(编程技巧)
Time:
2013/12/15 8:40:00
Browse times:
308
Comment times:
0
asp.net,ajax,使用updatepanel进行更新后的提示_.net资料_编程技术
Head photo
Go homepage
Upload pictures
Write articles
asp.net ajax 使用updatepanel进行更新后的提示_.net资料_编程技术-你的首页-uuhomepage.com
想实现这样一个简单的功能,却折腾了半天。原因是第一次使用asp.net Ajax,本来是不想使用的MS的。却想看看他的框架如何。
使用Response.write (js) 会出错。找了一些文档来看,原来要使用ScriptManager的静态方法 RegisterStartupScript 来实现调用。不知为什么实例类型没有提供这种方法。害得我花了很多的时间。
ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "updateScript", "alert('保存成功')", true);
看来以后有空要好好研究一下了。
There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)
Comments can't is empty(评论不能为空)
Disclaimer
Privacy Policy
About us
Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.