Can a page inherit multiple master pages?(ASP.NET)

我只是一个虾纸丫 提交于 2021-02-08 12:48:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!