Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nested Master Page at Runtime

0 views
Skip to first unread message

shapper

unread,
Apr 17, 2008, 12:00:43 PM4/17/08
to
Hello,

I am using ASP.NET 3.5 and VS 2008 to create 2 level Nested Master
pages.
I am adding the controls and the content place holders at runtime.

However now my child pages do not recognize the master pages content
place holders.
How can I solve this?

Thanks,
Miguel

Cowboy (Gregory A. Beamer)

unread,
Apr 18, 2008, 10:39:26 AM4/18/08
to
If you mean they do not understand the master page highest in the hierarchy,
that is by design. You can only implement at the level just above where you
are at.

The reason for nesting is to allow a single page at top, with multiple
masters below (each filling the content tags in their own way) and then any
number of pages implementing each secondary master, and filling the content
regions from their direct parent.

If you look underneath the hood, it is actually flipped, as a master page is
essentially a user control slapped on a page. It is handled differently, at
least from appearance, but the way it is walked is from page through master
to another master, etc., as if they were sitting on the page and not vise
versa.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"shapper" <mdm...@gmail.com> wrote in message
news:a1189316-746b-4032...@a1g2000hsb.googlegroups.com...

0 new messages