Welcome to Professional ASP.NET - Chris Love's Official Blog Sign in | Join | Help

Chris Love's Official ASP.NET Blog

Chris Love's Helpful tips, tricks and pragmatic development knowledge for the ASP.NET world.
Add to Technorati Favorites


ASP Insider
Nesting Master Pages, Do It At Your Risk.

I love Master Pages, it was one of the two main reasons I can dump DotNetNuke in favor of ASP.NET 2.0 alone.  The other being Membership.  I hvae found using master pages to be quite easy and extremely useful.  I won't get into what I used to do here, but it was a similar idea, just not nearly as clean.

I use Professional ASP.NET 2.0 everyday now to help me get the most out of ASP.NET 2.0 and Visual Studio 2005.  Starting on page 272 there is a section on Nesting Master Pages.  This is a great concept because now you can create a core layout and then create sublayouts and have everything stay consistent.  One big problem though, you can no longer work in design mode :(. 

This sucks, this is the same problem Visual Studio 2003 has with inheriting base classes for your page, you loose design mode and thus a lot of time in developing your site.  The authors do mention this sad fact at the end of the section.  I just wish the guys at Microsoft would have helped us out on this one.

Anyway, I still love Master Pages.

Posted: Tuesday, January 17, 2006 6:59 AM

by Chris Love
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS