I need to create a site that is duplicate to the mail site but in a sub-folder. The subsite will have a slightly different header.
Wondering if it is possible to have 2 seperate site.master files.
One ASPX page can have only one Master page.
However, you can inherit a Master page from a Master page.
<%@ Page MasterPageFile="~/MasterPages/SubMaster.master" ... %>
<%@ Master MasterPageFile="~/MasterPages/Root.master"
Codebehind="SubMaster.master.cs" ... %>
<%@ Master CodeBehind="Root.master.cs" %>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.