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

推荐订阅源

U
Unit 42
N
News and Events Feed by Topic
S
Schneier on Security
G
GRAHAM CLULEY
Scott Helme
Scott Helme
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CERT Recently Published Vulnerability Notes
T
The Exploit Database - CXSecurity.com
C
Cisco Blogs
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
P
Privacy & Cybersecurity Law Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 司徒正美
Blog — PlanetScale
Blog — PlanetScale
Project Zero
Project Zero
MyScale Blog
MyScale Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
The Last Watchdog
The Last Watchdog
Vercel News
Vercel News
The Cloudflare Blog
C
Check Point Blog
Help Net Security
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
腾讯CDC
NISL@THU
NISL@THU
S
Security @ Cisco Blogs
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
S
SegmentFault 最新的问题
MongoDB | Blog
MongoDB | Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
AWS News Blog
AWS News Blog
Cloudbric
Cloudbric
N
News and Events Feed by Topic
PCI Perspectives
PCI Perspectives
S
Securelist
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Vulnerabilities – Threatpost
S
Secure Thoughts

博客园 - 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