Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey Guys,

Is this possible? GlobalMasterPage -->PageBasedMasterPage-->OtherMasterPage,

The GlobalMasterPage -->PageBasedMasterPage is already working throught nesting. But I need another one for another purpose.

Thanks,
Posted
Comments
ZurdoDev 7-Feb-14 9:18am    
I believe so but it sounds like terrible design to me.
KatsuneShinsengumi 7-Feb-14 9:27am    
Really? Can you tell me why? Right now I end up doing it this way:
GlobalMasterPage -->PageBasedMasterPage(then add another asp panel for the other purpose I need)

The problem with this is that I need to do this to all my nested master page. That's why I'm looking maybe someone here have a better way of implementation^_^,.

So for now my structure now looks like:
HeaderNavigationFooter.master -->Topic.master(add a panel for comment System)
-->Content.master(add a panel for comment System)
-->Videos.master(add a panel for comment
ZurdoDev 7-Feb-14 9:47am    
They are called "Master" pages because they were intended, in my opinion, to be just one. In fact when .Net first came out they did not support nested master pages. You can now but what you might really want is a single master page with user controls. Just a thought. When you have to start going that deep with master pages it just sounds like something went wrong.
KatsuneShinsengumi 7-Feb-14 11:53am    
I was trying to have just one masterpage for comments. But it seems like implementing that will cause problem to other stuff in my case. I Think I'll stick on my current setup. Thanks for the input.

Hey Guys,

Thanks for the help, and to all who might be facing the same problem this is what I did. I'd just did the normal masterpage nesting. The only difference is that the supposed to be 3rd nested page was added in the original nested page itself.

But this means I need to write the supposed to be 3rd nested page to all the original nested page that I have.
 
Share this answer
 
 
Share this answer
 
Comments
KatsuneShinsengumi 7-Feb-14 11:52am    
Hi I read the link, it seems like it only talk about the standard masterpage nesting,. like sample.master is the nesting the coffee.masterpage. What I neeed is for the tea.masterpage to be nested by coffee.masterpage while coffee.masterpage is nested by sample.master.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900