473,378 Members | 1,360 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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 1599
http://odetocode.com is a website you want to visit.

"Stacey Levine" <St*****@community.nospamwrote in message
news:1E**********************************@microsof t.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 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/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.comwrote in message
news:Tx**************@TK2MSFTNGHUB02.phx.gbl...
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/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
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?...
7
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...
1
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...
1
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...
2
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...
3
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...
2
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....
0
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...
0
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...
8
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....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.