惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
M
MIT News - Artificial intelligence
T
Tailwind CSS Blog
Webroot Blog
Webroot Blog
S
Secure Thoughts
N
News and Events Feed by Topic
月光博客
月光博客
TaoSecurity Blog
TaoSecurity Blog
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
N
News | PayPal Newsroom
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
小众软件
小众软件
Recent Commits to openclaw:main
Recent Commits to openclaw:main
P
Privacy & Cybersecurity Law Blog
GbyAI
GbyAI
K
Kaspersky official blog
WordPress大学
WordPress大学
P
Proofpoint News Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 叶小钗
W
WeLiveSecurity
Jina AI
Jina AI
The Cloudflare Blog
Project Zero
Project Zero
Simon Willison's Weblog
Simon Willison's Weblog
V
Vulnerabilities – Threatpost
L
LangChain Blog
Forbes - Security
Forbes - Security
PCI Perspectives
PCI Perspectives
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
Recorded Future
Recorded Future
博客园 - 【当耐特】
H
Heimdal Security Blog
A
About on SuperTechFans
Cisco Talos Blog
Cisco Talos Blog
T
Threat Research - Cisco Blogs
云风的 BLOG
云风的 BLOG
Spread Privacy
Spread Privacy
L
LINUX DO - 最新话题
L
Lohrmann on Cybersecurity
Last Week in AI
Last Week in AI
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
I
Intezer
Martin Fowler
Martin Fowler
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint

博客园 - 天龙

ASP.NET 中关于 Async 和 Await 的概述 WIN2003的IIS6调试ASP出现HTTP 500 - 内部服务器错误 SEO 工具集合 去除网页FLASH"单击并激活此控件"解决办法 - 天龙 - 博客园 SQL远程备份 - 天龙 - 博客园 Web Service测试工具小汇 [转]用一个JS代码实现页面刷新后保持页面滚动条的位置 - 天龙 - 博客园 删除SQL 日志 纯HTML也能访问数据库 - 天龙 - 博客园 关于net2.0里面新出现的类backgroundworker的应用 使用CHARINDEX函数提高查询速度 如果为网站生成自签名SSL证书 利用html设计滚动的文字 - 天龙 - 博客园 使IIS支持HTTPS/SSL A scrollable panel retaining its scroll position across postbacks. - 天龙 google搜索参数 SQL2分查找法通用分页存储过程算法 五种提高SQL Server性能的方法 解析Atlas—微软的Ajax工具包
在ASP.NET 2.0工程中加入Atlas
天龙 · 2006-08-26 · via 博客园 - 天龙

在ASP.NET上,Atlas的使用指导要求我们在创建工程的时候选择Atlas Website工程模板。但是,当我们希望在现有的工程上增加一些AJAX小功能时,这种要求就变得不能接受了。
下面是我在自己项目中增加Atlas的一些步骤和心得:
第一步、安装Atlas,并且找到Bin文件夹。在Bin文件夹中有三个DLL文件:AtlasControlToolkit.dll、Microsoft.AtlasControlExtender.dll和Microsoft.Web.Atlas.dll。
第二步、将上面三个文件Copy到需要增加AJAX功能的工程的Bin文件夹中。
第三步、在web.setting中设置Atlas控件。在system.web段中增加下列代码:

1        <pages>
2
            <controls>
3
                <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
4
                <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
5
            </controls>
6
        </pages>

第四步、在Web控件工具条中增加AtlasControlToolkit。在工具栏上右键菜单中,选择"Add Tab",输入"Atlas"。然后在新增的Tab中右键,右键菜单中选择"Choose Item...",并选择Bin文件夹中的"AtlasControlToolkit.dll"。
第五步、在工程页面上加上atlas的ScriptManager。代码如下:

<atlas:ScriptManager id="ScriptManager" runat="server" EnablePartialRendering="true" />

第六步、从工具栏中选择要增加Atlas控件,拖到页面上,按照Atlas的说明设置并使用它。

通过以上几步可以简单的增加Atlas控件。但是对于使用自定义控件的工程来说,使用Atlas则比较麻烦,因为如果一个页面同时调用两个自定义控件,并且都使用了Atlas的话,他们会产生冲突。在后面的文章里将提出几个解决方法。