473,785 Members | 2,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

anyone used master pages/themes

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

May 10 '07 #1
4 1623
http://odetocode.com is a website you want to visit.

"Stacey Levine" <St*****@commun ity.nospamwrote in message
news:1E******** *************** ***********@mic rosoft.com...
>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

May 10 '07 #2
Hi Stacey,

Regarding on the Master page, it can help define some contentplacehol der
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/subscripti...ult.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/subscripti...t/default.aspx.

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

This posting is provided "AS IS" with no warranties, and confers no rights.


May 11 '07 #3
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.

"Steven Cheng[MSFT]" <st*****@online .microsoft.comw rote in message
news:Tx******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Stacey,

Regarding on the Master page, it can help define some contentplacehol der
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/subscripti...ult.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/subscripti...t/default.aspx.

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

This posting is provided "AS IS" with no warranties, and confers no
rights.

May 11 '07 #4
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.
May 15 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2136
by: Brian Henry | last post by:
is there any documentation out there on master pages and the different looking themes folder in asp.net 2.0 that i could start getting up to speed with this on to start learning the new changes? thanks
7
3509
by: sasquatch | last post by:
Hi, I've a a site with nested master pages and content pages. I tried using a theme with a stylesheet in the app_themes directory referencing it in the web.config file from a pages tag theme attribute. This works for the content pages, but it doesn't seem able to apply the styles to the top master page even though I did set the master head tag to runat server. Is this by design? If so, what is the best way to apply styles to the top...
1
1535
by: Ryan Ternier | last post by:
I have just started playing around with ASP.NET 2.0 and have a few questions I couldn't get answers to on the net. If anyone could help me with these it'd be awesome. --- Themes - THey seem to lack full functionality with CSS files. I have a theme set up. Inside that theme I can have 32 CSS files. Each file is for each page within that theme. Why? I find it easier having multiple small CSS files to work with rather than a few HUGE...
1
1339
by: Seefor | last post by:
I may be missing something, but why aren't master pages part of themes? i.e. why don't they go in the App_Themes or global Themes directory, and be referenced just by name (not full path) in the declaration for a page? That way, you can change the complete layout by just applying the theme to a page or a whole site. I know that if your master pages are XHTML, then you can change the layout significantly with CSS, but there are...
2
1068
by: MS News | last post by:
I am trying to understand some basic things about themes. Why cannot I attach a theme to a master page? When I define a CSS within a theme and then attach the theme to a page it seems that I cannot use the CSS definitions directly on that page. Is this correct? If so, why? Thanks
3
7067
by: johannblake | last post by:
I'm reading up on Themes and Master Pages in ASP.NET 2.0 but I cannot seem to understand what the difference between the two are. Do Master Pages essentially end up doing what Themes do? Is Themes an older part of the .NET architecutre and simply included for backward compatibility or are Themes and Master Pages two different things meant to compliment each other? Can someone give me some insight please.
2
1674
by: Christophe Peillet | last post by:
I have an application that works fine on localhost, but when it is deployed to a production server, I get the following error: Using themed css files requires a header control on the page. (e.g. <head runat="server" />). I am using themes and a single Master Page for the application, with the theme being set globally in the web.config file <page theme="xxx" /> is, off the top of my head, the markup, though don't quote me on that. ;-)
0
1183
by: luminousc | last post by:
Hi guys, I've got a really annoying bug that I can't find a way around. I'm trying to rebuild our group's intranet. Which comprises of 4 individual companies, hence I want to use 4 different themes with skins. I really don't want to have to have 4 copies of the same master page just to get round the problem. The exact issue I'm having is this; in my app, when the user clicks
0
270
by: Stacey Levine | last post by:
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...
8
1899
by: Jonathan Wood | last post by:
I want to dynamically set my site's theme based on a setting stored in my database. I just hooked this up but get an error that the theme can only be set in the page's PreInit event or earlier. However, it appears that Master pages do not have PreInit events. I REALLY do not want to have to stick the same code in each and every page I create. How are you folks dynamically setting themes from master pages?
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9949
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.