anyone used master pages/themes

Discussion in 'ASP .Net' started by Stacey Levine, May 10, 2007.

  1. I am trying to develop an intranet site and thought I would use Master Pages
    and themes. I found the the MS templates at
    http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx and was trying to set
    everything up. I created a Master page with three containers:
    header, content, footer. I created another page and put a few things in the
    content container. I set the theme option in the web.config. It appears to
    be applying the theme to the labels that I set, but the background that
    should be getting set for the header section isn't.
    Does anyone have any ideas? Maybe a sample project using one of these
    themes? Thanks.



    Stacey
     
    Stacey Levine, May 10, 2007
    #1
    1. Advertisements

  2. Stacey Levine

    clintonG Guest

    clintonG, May 11, 2007
    #2
    1. Advertisements

  3. Hi Stacey,

    Regarding on the Master page, it can help define some contentplaceholder
    that can be override/custeomize in concrete page which applied this master
    page. However, for Theme, it is always applying on concrete page(rather
    than master page), or you can configure the Theme in web.config for all the
    pages in this web application.

    For the problem you mentioned (theme work for header section), would you
    provide some further description? You may provide some template fragment of
    your master page content, such as how to declare the label and the header
    section that need to apply theme/skin.

    BTW, for ASP.NET 2.0 Theme, are you using Theme or StyleSheetTheme? If
    you're using StyleSheetTheme, make sure you haven't define default value
    for any control's attribute in page template, this will cause the
    StyleSheetTheme's value be overwrite.

    Please feel free to post here if there is any other finding.

    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead



    ==================================================

    Get notification to my posts through email? Please refer to
    http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
    ications.



    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 1 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions or complex
    project analysis and dump analysis issues. Issues of this nature are best
    handled working with a dedicated Microsoft Support Engineer by contacting
    Microsoft Customer Support Services (CSS) at
    http://msdn.microsoft.com/subscriptions/support/default.aspx.

    ==================================================



    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Steven Cheng[MSFT], May 11, 2007
    #3
  4. The main thing that I think is missing is the sample .master page for the MS
    templates http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx

    The documentation for each template seems to be generic for all of them. I
    would like to have seen a sample site for each... or at least a .master
    page. I am having issues trying to get my master set up correctly to match
    what the template intended.
     
    Stacey Levine, May 11, 2007
    #4
  5. Thanks for your reply Stacey,

    Not sure about the sample.master page you mentioned. Based on my local
    test, for such a starter kit stie(the club site), it has a default.master
    page for the whole web application. Is this the master page you need?

    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead


    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Steven Cheng[MSFT], May 15, 2007
    #5
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.