MasterPage inheriting a MasterPage... is it possible?



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


.



Relevant Pages

  • Re: Maroczy and Politics
    ... more common to speak of the 'disciple' overcoming the master, ... the the term 'disciple' is applied in English in more liberal, ... So, ok, not Boris Becker. ...
    (rec.games.chess.misc)
  • Re: Create Linked Document Bundle
    ... Use the CC's as a data list stored in the folder (MASTER sheet). ... If one edits the CC data list it can update on document open (macro reattaches the datasheet on opening and updates all common CCs - also put a button on ribbon). ... Then I would edit or complete unique portions of each document before saving the document in a unique folder. ... Greg Maxey - Word MVP ...
    (microsoft.public.word.vba.general)
  • Re: often ide errors on amd64 / A8N-SLI
    ... > usually indicates a cable or noise problem in the PC but could indicate ... Another common cause is to have the master and slave swapped. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Maroczy and Politics
    ... more common to speak of the 'disciple' overcoming the master, ... youth triumphs over age, ... Albert Becker, born 1896 - ...
    (rec.games.chess.misc)
  • Re: Master page from html
    ... >page dimensions, top navigation etc. ... They want me to develop an asp.net app ... There is no automatic way to extract a master page from an existing ... You'll have to pull of the common layout and put it into the ...
    (microsoft.public.dotnet.framework.aspnet)