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

5

9

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

Frayne answered 2/6, 2010 at 21:35 Comment(0)
R
12

No but you can use nested master pages. Here is some reference Nested ASP.NET Master Pages

Roley answered 2/6, 2010 at 21:40 Comment(0)
A
3

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.

Abdu answered 2/6, 2010 at 21:37 Comment(1)
+1 for the correct answer and for remarking how stupid was my answer so I could delete it :-) silly mistake, sorry and thanks manHecatomb
R
3

You can nest as many master pages as you would like.

MSDN link on how to nest master pages

Rabat answered 2/6, 2010 at 21:39 Comment(0)
P
2

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)..

Pontormo answered 2/6, 2010 at 21:38 Comment(0)
L
0

A single page inherits only one master page, or we can say that a single page cannot inherit two different master pages.

Liston answered 8/7, 2013 at 18:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.