问题
Can a page inherit multiple master pages?(ASP.NET)
回答1:
No but you can use nested master pages. Here is some reference Nested ASP.NET Master Pages
回答2:
A single page cannot inherit two different master pages.
If you think about it, that should be relatively obvious. How could it be possible? What would it do?
However, one master page can inherit a second master page.
回答3:
You can nest as many master pages as you would like.
MSDN link on how to nest master pages
回答4:
A single page cannot inherit two different master pages..
But, a master page can be based on another master page (so you have chained inheritance)..
回答5:
A single page inherits only one master page, or we can say that a single page cannot inherit two different master pages.
来源:https://stackoverflow.com/questions/2961775/can-a-page-inherit-multiple-master-pagesasp-net