Can a page inherit multiple master pages?(ASP.NET)
Can a page inherit multiple master pages?(ASP.NET)
Asked Answered
No but you can use nested master pages. Here is some reference Nested ASP.NET Master Pages
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.
+1 for the correct answer and for remarking how stupid was my answer so I could delete it :-) silly mistake, sorry and thanks man –
Hecatomb
You can nest as many master pages as you would like.
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)..
A single page inherits only one master page, or we can say that a single page cannot inherit two different master pages.
© 2022 - 2024 — McMap. All rights reserved.