All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
PHP实例:一无限分类的处理类_[PHP教程]
Delphi触摸屏系统
Linux系统下PhpMyAdmin目录的安全管理_php资料_编程技术
跟我学SQL:(九)datetime和interval数据类型_mssql学习_编程技术
LINQ体验(10)——LINQ,to,SQL语句之开放式并发控制和事务_[Asp.Net教程]
编辑web.config,保证ASP.NET的安全_.net资料_编程技术
ASP.NET应用程序安全性问题_[Asp.Net教程]
SQL Server2000连接中三个最常见错误分析_[SQL Server教程]
在DataGrid控件中编辑数据项_[Asp.Net教程]
同步两个Sql,server(2)_[SQL,Server教程]
Reading number is top 10 pictures
NeedWallpaper5
白嫩丰满美女照片
Beautiful vacuum girl1
More attractive than sora aoi3
Lewd,it is too lewd.
From China fortress sora aoi1
中国的阶级现状
The world's top ten most beautiful railway station1
Startling Russian girl blind date scene2
男人帮杂志里的惹火性感美女2
Download software ranking
在线棋牌游戏3.05版
Ashlynn Video5
Love the forty days
Unix video tutorial17
Tram sex maniac 2 (H) rar bag12
Sora aoi, the nurse, uniform ,nursing assistant
圣殿祭司的ASP.NET.2.0.开发详解-使用C#
Tram sex maniac 2 (H) rar bag11
Boxer vs Yellow3
双旗镇刀客A
归海一刀 published in(发表于) 2014/1/30 0:51:57 Edit(编辑)
Asp.Net,Ajax,学习笔记3,UpdatePanel的使用(上)_[Asp.Net教程]

Asp.Net,Ajax,学习笔记3,UpdatePanel的使用(上)_[Asp.Net教程]

Asp.Net Ajax 学习笔记3 UpdatePanel的使用(上)_[Asp.Net教程]

UpdatePanel可以通过服务端代码来控制如何提交数据和更新UpdatePanel。首先在页面加载的时候注册异步回传或同步回传的提交按钮


ScriptManager.GetCurrent(this).RegisterAsyncPostBackControl(this.Button1);
ScriptManager.GetCurrent(this).RegisterPostBackControl(this.Button2);
那么在回传按钮的提交事件中直接调用UpdatePanel的Update方法即可。GetCurrent方法时得到此页面的ScriptManager对象。


UpdateProgress的使用。顾名思义,UpdateProgress用来显示在UpdatePanel更新时,用来表示UpdatePanel更新进度的。在UpdateProgress中有ProgressTemplate的一对标记,用来作为文字或控件的容器,以此来表示UpdatePanel更新的进度。UpdateProgress的DynamicLayout的属性,DynamicLayout属性:隐藏时是否占位,默认值为true。DisplayAfter属性表明在多少毫秒之后,UpdateProgress会显示出来。


ScriptManager可以注册客户端js方法,并同时可以调用。他与ClientScriptManager有所不同,在使用UpdatePanel响应的事件中ClientScriptManager注册的js将不会被调用。








添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.