473,757 Members | 8,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Master pages vs frames

Hi;

Any strong arguments on using master pages vs frames when the header &
footer are always the same and the main body is the part that keeps changing?

--
thanks - dave
Jan 30 '06 #1
8 4325
Frames can be a pain in the butt since they require a good amount of client
side code to keep everything in sync because the pages never exist on the
server at the same point in time.
MasterPages don't suffer from this problem. Plus, with all the different
kinds of caching that can be done in ASP.NET 2.0 there's really no need to
resort to frames.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"David Thielen" <th*****@nospam .nospam> wrote in message
news:E3******** *************** ***********@mic rosoft.com...
Hi;

Any strong arguments on using master pages vs frames when the header &
footer are always the same and the main body is the part that keeps
changing?

--
thanks - dave

Jan 30 '06 #2
Frames are just downright evil. Avoid using them if you possibly can.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"David Thielen" wrote:
Hi;

Any strong arguments on using master pages vs frames when the header &
footer are always the same and the main body is the part that keeps changing?

--
thanks - dave

Jan 30 '06 #3
people can bust out of frames, but can't bust out of a master page
"David Thielen" <th*****@nospam .nospam> wrote in message news:E3******** *************** ***********@mic rosoft.com...
Hi;

Any strong arguments on using master pages vs frames when the header &
footer are always the same and the main body is the part that keeps changing?

--
thanks - dave

Jan 30 '06 #4
Ok - no frames.

--
thanks - dave
"Peter Bromberg [C# MVP]" wrote:
Frames are just downright evil. Avoid using them if you possibly can.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"David Thielen" wrote:
Hi;

Any strong arguments on using master pages vs frames when the header &
footer are always the same and the main body is the part that keeps changing?

--
thanks - dave

Jan 31 '06 #5
Hi,

Steve C. Orr [MVP, MCSD] wrote:
Frames can be a pain in the butt since they require a good amount of client
side code to keep everything in sync because the pages never exist on the
server at the same point in time.
MasterPages don't suffer from this problem. Plus, with all the different
kinds of caching that can be done in ASP.NET 2.0 there's really no need to
resort to frames.


Sorry to piggyback, I lost the original message.

Also, frames work against the web paradigm, which is that to each URL
corresponds one single resource. When you use frames, one single URL can
display different content. I don't say it should be avoided, just that
one should be aware of this aspect too.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Jan 31 '06 #6
Hi Dave,

Thank you for contacting Microsoft.

Master page is a new feature introduced in ASP.NET 2.0. It gives you a
simple way to ensure the consistent look and feel to an entire application.
Here are some suggestions for whether to use Master page or Frame.

We usually use Master page when

1. Not concerned about a full page refresh
2. Development requires a highly modifiable inheritable page standard and
users will live with a page refresh
3. Need to be allow the user to bookmark a specific page

We usually use Frame when

1. Don't want full page refreshes
2. Have complex asp: control driven pages which can't be refreshed by data
only i.e. the asp: controls need to be generated into html by the web
server first
3. Need multiple areas of the page to be refreshed at different times by
the user

If there is anything unclear about this issue, please feel free to let me
know. Thanks a lot!

Thanks & Regards,

Frederick Wu
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== ========
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/tec...rview/40010469

Others: https://partner.microsoft.com/US/tec...pportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default...rnational.aspx.
=============== =============== =============== ========

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

Jan 31 '06 #7
Hi,

Do you have any other concerns on this issue? Thank you!

Thanks & Regards,

Frederick Wu
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== ========
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/tec...rview/40010469

Others: https://partner.microsoft.com/US/tec...pportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default...rnational.aspx.
=============== =============== =============== ========

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

Feb 2 '06 #8
No - your post was a very good one on the trade-offs and the mass vote of the
others made it clear what road people are going down now.

--
thanks - dave
"HongQuan Wu[MSFT]" wrote:
Hi,

Do you have any other concerns on this issue? Thank you!

Thanks & Regards,

Frederick Wu
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== ========
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/tec...rview/40010469

Others: https://partner.microsoft.com/US/tec...pportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default...rnational.aspx.
=============== =============== =============== ========

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

Feb 2 '06 #9

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

Similar topics

20
3371
by: M.Siler | last post by:
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and there seems to be the thought of why use Frames when you can use a Master Page? How does a Master Page only update a section without re-displaying the entire page. We have a site that has some small swf banners for lack of a better term that we...
17
3160
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content pages? Kinda sorta a critical point no? Am I missing something? Rob. P.S. the day I find a book that actually is useful rather than just a
5
2501
by: Ryan | last post by:
Is there any way to apply a master page to existing pages that weren't previously using a master page? VB 2005. Thanks, Ryan
2
1548
by: Ralph | last post by:
I'm upgrading and rewriting an old site to asp.net 2.0. Most definately want to replace frames and framesets with Masterpages. There was one and really only one feature of frames that I prefered. It seemed with frames I could much easier limit people to one point of entry to my site. That being index.html. Assuming users didn't have java script disabled I could make sure that even if a user bookmarked somepage in my site they always...
4
18007
by: Rob | last post by:
Hi, I have a master page that contains a table layout. The contentplaceholder is located in one of the table cells. With frames technology it was possible for hyperlinks to load the linked pages into a frame without having to reload any other frames. Is it possible to replicate this kind of behaviour using master pages and content pages? In other words, I want only the cell that contains the contentplaceholder to refresh when the...
7
1324
by: Dwight Johnson | last post by:
I am attempting to use Master Pages in a new website, and finding it troublesome. I also do not see a lot of entries in this group regarding them or their components, such as ContentPlaceHolders. So my question is: do I really want to invest the time to learn Master Page technology, or not? Does anyone have an opinion on this (silly question?) Dwight
4
6058
by: Harlequin | last post by:
I have a question concerning the need to trigger events within a "child" subform which is itself enbedded within a master "parent" form and which is accessible via a tab in the parent form. Becuase this is all very difficult to explain in words, please bear with me as I endevour to explain what it is I am trying to do. It would be helpful if I could attach a graphics file to this posting that would help explain what it is I'm trying to achieve...
8
1633
by: Kojikabutosv | last post by:
I have to developer a site like the CRM of Microsoft (the user interface), my original idea was do it with frames but, other friends said me that not is correct, my site is as a template (header,left menu,footer). Wich is the best way to do it with master pages or frames, i'm trying not load the menu in all pages. Sorry my bad english!!!!
1
1587
by: Nilam2477 | last post by:
I have Web application. In most of the forms Frames are used. We are planning to use Master pages instead of frames. Could you please let me know what are the advantages of using Master pages over frames?
0
9298
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
10072
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
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...
0
6562
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5172
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...
1
3829
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
3
3399
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.