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

推荐订阅源

T
Threat Research - Cisco Blogs
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
Recorded Future
Recorded Future
The Register - Security
The Register - Security
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
Webroot Blog
Webroot Blog
Help Net Security
Help Net Security
Forbes - Security
Forbes - Security
H
Hacker News: Front Page
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
Hacker News: Ask HN
Hacker News: Ask HN
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
Attack and Defense Labs
Attack and Defense Labs
T
Tailwind CSS Blog
J
Java Code Geeks
C
CXSECURITY Database RSS Feed - CXSecurity.com
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone
小众软件
小众软件
G
Google Developers Blog
SecWiki News
SecWiki News
V
V2EX
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
S
Security Affairs
AI
AI
S
Securelist
D
Docker
人人都是产品经理
人人都是产品经理
T
Troy Hunt's Blog
罗磊的独立博客
The Hacker News
The Hacker News
阮一峰的网络日志
阮一峰的网络日志
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
P
Proofpoint News Feed
Vercel News
Vercel News
Jina AI
Jina AI

博客园 - Jailu

如何在IIS5.1/IIS6.0上使用ASP.NET URL Routing 如何在Web Form中使用URL Routing? Linq to SQLite使用笔记 Response.ContentType 详细列表 如何利用Google Code的SVN显示Html页面 Windows7下IIS7的安装及ASP配置方法 [原]分享几个日常开发中经常用到的软件 ASP.NET中Cookie问题求教 解决FF中的bug:JavaScript focus() throws "Permission denied to get property XULElement.selectedIndex" [原]请留心asp:Image控件中的ImageUrl属性 开心网辅助程序--开心网争车位助手正式发布(含源码) 开心网辅助程序开发手记(四):贴条功能+逻辑停车+简单界面 开心网辅助程序开发手记(三):实现停车功能 HTML:对话框插件thickbox使用技巧 - Jailu - 博客园 开心网辅助程序开发手记(二):获取好友私家车位信息 [程序收藏]把Unicode转成汉字 开心网辅助程序开发手记 Fire event in IE & Firefox 【转】FireFox与IE开发上的一些区别
原来.NET Framework 2.0也是支持母版页嵌套的
Jailu · 2008-10-20 · via 博客园 - Jailu

  今天在项目中(VS2008 + .NET Framework 2.0)遇到了需要母版页嵌套的页面,记得在VS2005里新建母版页是不能选择母板的,正在苦恼是否做成用户控件时突然想到--貌似在VS2008新建母版页中是可以选择母版页的。抱着试试看的态度,我建了一个新母板,继承自某母板页。迫不及待的打开浏览器看效果。。。

   经过紧张的几秒等待时间 ,“噔”,哈,页面正常显示!兴奋之余,马上想在项目中使用,等等,貌似还少点什么?想想,对了,我机子上装了VS2008,也就是说装了.NET Framework 3.0,是不是3.0在起作用呢?要排除这个可能,只要把网站部署到只装有.NET Framework 2.0的机子上不就知道了。说做就做。。。

  再次经过紧张的几秒等待时间 ,“噔”,页面正常显示!哈,看来.NET Framework 2.0也是支持母版页嵌套的嘛!

  结论:1. .NET Framework 2.0支持母版页嵌套,不过IDE VS2005中未显示支持,可以通过手写代码的形式实现! 2. 尽信IDE不如无IDE啊!

Code

  PS:本文仅献给还不知道“.NET Framework 2.0也能支持母版页嵌套”的朋友!