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

Frames question...

A novice's view-point (please correct)

With CLASSIC ASP, I understand that frames could be beneficial. For
example, the left-hand frame could contain the ASP for the navigation tool
and the right-hand frame would contain the main page. I believe that the
advantage was that all the ASP (and database accesses) required to create
the navigation tool would only have to be run once. The alternative of
having the navigation tool in the same page was that every time the page
loaded, the navigation tool would have to be re-loaded too.

My understanding with ASP.NET is that the page knows if the page is being
posted back on therefore only has to load the navigation tool when it's
first loaded.

My question therefore is are there any advantages in using a multi-framed
page instead of a single page?

Thanks

Griff
Nov 18 '05 #1
2 1392
Hi Griff.

Frames have been discussed in this group numerous times.

Again :) Each frame, wether it's nav, or content, or header, or whatever,
would contain (in simple scenarios) a separate aspx page. Each of those aspx
pages has its own life cycle and would not be aware of eachother, i.e. you
post one of them and others have no idea of what just happened. So, unless
you create somewhat complicated client scripts that would deal with it, it's
worthless.

Typically, developers use frames to make nav and/or header to stay in one
place while content can be scrolled up and down (that's the only advantage
of using frames I can think of). Well, I don't know any single person who
would tell me that he stopped using some web site because the site doesn't
use frames :) It's silly, really.

ASP.NET gives you a great tools to deal with this stuff if you agree that
scrolling is not that bad. Use UserControl(s) for navigation and /or header
(ascx files). You load them ones and they keep their state through ViewState
for all futher postbacks. ASP.NET 2.0 will have Master Pages (I believe this
idea has been stolen from Dreamweaver :)) which will give you even more
flexibility and control. Or build your own ServerControl(s) which you can
reuse on other sites you develop. They can be as complex as you want.

Hope this helps,
Kikoz
"Griff" <Ho*****@The.Moon> wrote in message
news:Oa****************@TK2MSFTNGP12.phx.gbl...
A novice's view-point (please correct)

With CLASSIC ASP, I understand that frames could be beneficial. For
example, the left-hand frame could contain the ASP for the navigation tool
and the right-hand frame would contain the main page. I believe that the
advantage was that all the ASP (and database accesses) required to create
the navigation tool would only have to be run once. The alternative of
having the navigation tool in the same page was that every time the page
loaded, the navigation tool would have to be re-loaded too.

My understanding with ASP.NET is that the page knows if the page is being
posted back on therefore only has to load the navigation tool when it's
first loaded.

My question therefore is are there any advantages in using a multi-framed
page instead of a single page?

Thanks

Griff

Nov 18 '05 #2
> Hope this helps,
Kikoz


It certainly does. Many thanks!

Griff
Nov 18 '05 #3

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

Similar topics

2
by: les | last post by:
Hello, I just wonder what are the implications to use frames to build portal. I've seen some sites that are quite fast with frames but I just wonder if there are hidden "costs". I've tried to...
40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
14
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left...
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
4
by: Tammy | last post by:
At the website http://www.htmlhelp.com/faq/html/frames.html#frame-update2 I found the following: The JavaScript-based solution uses the onClick attribute of the link to perform the secondary...
7
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
27
by: Murray R. Van Luyn | last post by:
Hi, Is using frames in a website as big an issue nowadays as it was maybe 5 or so years ago? I can remember that you used to have to have a frame site, as well as a non frame site for browsers...
56
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
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...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.