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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

博客园 - Clark Zheng

怎样带出一支成功的团队 Google Data APIS应用 实现ICallbackEventHandler应该注意的问题 mime类型大全 联合删除两张表的数据 SQL2005支持的两条新语法 现在的收藏功能到底把文章收藏在哪里了? Google Reader终于出中文版啦 KB937061安全更新到底要打几次?! 如何解决北京高峰期堵车的问题? 新的皮肤 一段非常有意思的程序 只需一行代码就能让IE6崩溃 [转]随便说说字符集和编码 SQLServer2005 利用 ROW_NUMBER 实现分页 清除 SQL SERVER 2005 事务日志 Windows Live Writer升级到1.0(12.0.1193.524)了 热烈庆祝博客园搬家成功! “LIB 环境变量”中指定的搜索路径 *** 无效 --“系统找不到指定的路径。”
利用 ASP.NET AJAX 使 Web Parts 可以在 FireFox 中拖曳
Clark Zheng · 2007-07-24 · via 博客园 - Clark Zheng

ASP.NET 2.0 提供一套 Web Parts 控件,使得我们可以很方便的开发个性化的自定义网站,但它有一个致命的缺点,就是无法在 FireFox 浏览器中使用。不过利用ASP.NET 2.0 AJAX Futures CTP 我们终于可以让 Web Parts 在 FireFox 中拖曳了。

1、添加 ASP.NET 2.0 AJAX Futures 的引用,建议采用 ASP.NET AJAX CTP-Enabled Web Site 项目(如果是升级现有项目,可以把后面配置好的 web.config 整合一下就 OK 了)

2、添加 <tagMapping> 标签,如下所示:

<system.web>
  ...
  <pages>
    <tagMapping>
      ...
      <add tagType="System.Web.UI.WebControls.WebParts.WebPartManager" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager"/>
      <add tagType="System.Web.UI.WebControls.WebParts.WebPartZone" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartZone"/>
    </tagMapping>
  </pages>
</system.web>

以下是我做的一个示例效果图:

在 IE7.0 中:

WebPartsInIE7

在 FireFox2.0 中:

WebPartsInFF2