MasterPage inheriting a MasterPage... is it possible?
- From: "ThunderMusic" <NoSpAmdanlatathotmaildotcom@xxxxxxxxxx>
- Date: Tue, 26 Sep 2006 14:14:28 -0400
Hi,
Maybe there is another way of doing this, but here's my problem...
I have my web site where I have a master page to have a common layout and a
common behavior on all my pages (that's what it's intended for)... But now
here comes the time where some pages need some processing (like, is the user
logged? and those kind of things)... If it was only on 1 or 2 pages, I'd
says, i'll put it directly in the code and case closed, but there are 10-20
pages that need this behavior while 10-15 pages don't... So I'd inherit my
master page to include everything in the base masterpage into the new master
page that will do the additionnal processing... and use this inherited
master page in the pages that need the extra processing... Can it be done?
I've thought of another way... that would be to create some properties in
the master page code file and setting them in my "sub-pages" to know which
processing to use... I can set these properties fine in my "sub-pages" code,
but is it possible to set a Master Page's property right in the markup like
we do for user controls?
thanks a lot
ThunderMusic
.
- Follow-Ups:
- Re: MasterPage inheriting a MasterPage... is it possible?
- From: Gregory Gadow
- Re: MasterPage inheriting a MasterPage... is it possible?
- From: clintonG
- Re: MasterPage inheriting a MasterPage... is it possible?
- Prev by Date: Re: Where are my images?
- Next by Date: Re: Need help figuring out rendering issues...
- Previous by thread: thread status created from asp.net
- Next by thread: Re: MasterPage inheriting a MasterPage... is it possible?
- Index(es):
Relevant Pages
|