473,325 Members | 2,774 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,325 software developers and data experts.

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 7028
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*********@yahoo.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*********@yahoo.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
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...
7
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...
12
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...
2
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...
4
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...
0
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...
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.