views:

70

answers:

4

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

+3  A: 

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.

SLaks
+1 for the correct answer and for remarking how stupid was my answer so I could delete it :-) silly mistake, sorry and thanks man
Claudio Redi
+2  A: 

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

Dexter
+2  A: 

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

MSDN link on how to nest master pages

thekaido
+4  A: 

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

alejandrobog