注意:主母版页的构建方法与普通母版页使用的方法一致。由于主母版页嵌套一个子母版页,因此必须在适当的位置设置一个ContentPlaceHolder控件实现占位功能。
子母版页SubMasterPage.master源代码如下:
<%@ Master Language="C#" AutoEventWireup="True" CodeFile="SubMasterPage.master.cs" Inherits="SubMasterPage" MasterPageFile ="~/MainMasterPage.master" %>
赞
If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
QQ:154298438
QQ:417480759