web developer tips (33):在vs2008里创建套嵌母版页
2009-08-11 – 00:16
原文地址:How to create Nested Master Pages using VS 2008
VS 2008 支持套嵌母版页,这意味着一个基础的母版页可以满足整个网站,同时你可以基于模板页进一步自定义。
创建的方法如下:
http://www.watch-life.net/visual-studio/create-nested-master-pages-using-vs-2008.html
1、创建BaseMasterPage.master 作为基础母版页
首选创建一个支持整个网站的模板页。在web网站里“添加新项”,然后选择“母版页”,命名为:BaseMasterPage.Master
BaseMasterPage 看起来如下图所示:
2、创建一个基于基础母版页的 的套嵌母版页(NestedMasterPage.master......[阅读全文]
分类: Visual Studio | 1 条评论 »

