Centralizing MasterPage and Theme

Discussion in 'ASP .Net' started by Keith Patrick, Nov 18, 2005.

  1. I'm curious how folks are generally (if at all) centralizing the setting of
    both MasterPage and Theme of a large group of pages. I have a content
    viewer app where my initial solution was to just have 1 page with a master
    page and theme, but I run into issues with site map navigation (long story).
    So now, I'm moving towards the more standard usage of a MasterPage whereby
    each page is just content wrapped by the master page such that the app still
    looks like a single page app with different content internally. However, I
    am supporting per-user themes and layouts (master pages), and I don't want
    to hardcode values for every page. Is the best way to perform this to set
    master page and theme during Page.OnPreInit, or is there some way that folks
    find work better for this use case?
     
    Keith Patrick, Nov 18, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. D. Shane Fowlkes
    Replies:
    6
    Views:
    471
    D. Shane Fowlkes
    Feb 14, 2006
  2. ad
    Replies:
    3
    Views:
    5,930
  3. Guest
    Replies:
    8
    Views:
    383
    Steven Cheng[MSFT]
    Dec 29, 2006
  4. DK

    Centralizing Code Question

    DK, Dec 30, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    453
    Eliyahu Goldin
    Dec 31, 2007
  5. Rhino

    Centralizing instantiation?

    Rhino, May 25, 2010, in forum: Java
    Replies:
    3
    Views:
    273
    Arne Vajhøj
    May 26, 2010
Loading...

Share This Page