473,545 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What's the difference between Themes and Master Pages?

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.

Thank you
Johann Blake

May 2 '06 #1
3 7057
Check out:

http://builder.com.com/5100-6371-6060080.html

http://msdn.microsoft.com/asp.net/re...documentation/

they seem to confirm our conversation earlier that the masterpage is
intended primarily to control site layout and menus etc (i.e. your
template)

And Themes are there to fine tune the look and feel.

May 2 '06 #2
Both were introduced in ASP.net 2.0, so they are meant to complement
each other.

Master pages is used to separate the page skeleton from the contents of
the pages, and Themes are used to define style for elements in the page.

Master Pages and Themes can sometimes be used do the same thing, like
setting a common css file for all pages. Where it's done best depends a
bit on the desired result.

jo*********@yah oo.com wrote:
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.

Thank you
Johann Blake

May 2 '06 #3
On 2 May 2006 01:45:13 -0700, jo*********@yah oo.com wrote:
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.


Master pages define an "outer" page around your content page. It's like
embedding a control in a form.

Themes apply to the entire page, and change style on everything.

While you can certainly embed theming information in a master page, that's
not really the way it's designed to work.
May 2 '06 #4

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

Similar topics

1
1526
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...
7
1496
by: dm1608 | last post by:
OK -- I've basically completed my development of my ASP.NET 2.0 website. Unfortunately, it looks like crap. What is the best way for me to add some professionalism to my page? Just having a form and some buttons and a hyperlink looks too much like a rookie. I need graphics and a nice layout! HELP
12
1672
by: johannblake | last post by:
First off, I am NOT a beginner. I have lots of experience developing professional web sites and am a professional software developer. Unfortunately I've been out of web site development for the past 2 years but would like to get back into it. What I need is some advice to get me up-to-date on what is the best (or one of the best) ways of...
2
2643
by: suresh.csharp | last post by:
Hi, I have created two themes in our application. Trying to apply themes on fly to the entire application(all pages..) . 1. In web.config file mentioned <pages theme="theme1" />, It is applying for the entire site. 2. In each Page, PreInit event menthod if I mention Page.Theme = Profile.MyTheme; It is applying the theme to which ever...
4
1674
by: Sean | last post by:
My experience now working with master pages on and off for 6 months is that they can be very dangerous when working with themes. One example in particular is the changes I made to my banner menu which now work just fine with all my themes on my development machine but on my production server my non-standard themes are showing effects that are...
0
1255
by: xkeops | last post by:
I have a C# web app ... just playing around with master pages, themes and skins. I have read Scott's article: http://odetocode.com/Blogs/scott/archive/2005/12/09/2604.aspx Still not really clear for me. How can I apply a theme for a master page design app other than static in web config:
0
1174
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...
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...
8
1886
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...
0
7434
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...
0
7692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6026
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...
0
5078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
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
1
1045
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
744
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.