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, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work 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

TrackBack said:

# May 22, 2004 8:43 AM

TrackBack said:

# May 22, 2004 8:45 AM

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

TrackBack said:

# June 13, 2004 8:58 PM

TrackBack said:

# June 13, 2004 9:02 PM

Weblog said:

I meant to revist my statement about finally getting Master Pages in Whidbey. I am not going to...

# October 3, 2006 3:07 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)