473,385 Members | 1,647 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,385 software developers and data experts.

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 4312
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**********************************@microsof t.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**********************************@microsof t.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
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...
17
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...
5
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
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....
4
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...
7
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. ...
4
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...
8
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...
1
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.