Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
I finally "get" master pages in Whidbey, thanks to Bob - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.

News

Visual Studio Magazine Column Personal Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

I finally "get" master pages in Whidbey, thanks to Bob

Sometimes, it takes a while to understand how to use something.  I have understood the concept of master pages in .NET Whidbey for a while, but I have always had problems trying to get them to work.  Well, doink on the head last night, I was able to get them to work.  I finally understand how they work and why they work now.  I “get” how the pieces come together.  There is a content control on the master page that holds where content goes.  On the visual page, there is also a content control which specifies the content control to use on the master page.  Make that connection, and Bob's your Uncle.  The part that I kept missing was the need to put the content control on the visual page and make the connection between the two.  Once I did that, it just worked (or at least appeared to).  One of the problems I had was that I was trying to put a master page interface into an existing web form.  To do that, it required some changes to the html that I had assumed that the visual designer would do for me. 

Wally

Comments

SBC said:

Hopefully, I'll "get" it this week-end.. :-)
# May 21, 2004 12:46 PM

Eric Newton said:

a simple and powerful concept for template driven web sites

hopefully 2.0 wont have the performance issues from the masterpages sample... of course they've had plenty of time to beef it up!
# May 23, 2004 1:00 AM