Frames or NO frames.

Hi,

sorry probably a topic discussed at lengths somewhere but I was wondering. If I have a ASP.NET c# web application that contains the traditional header, left navigation bit and content to the right, is there any compelling reason for me not to use frames?
I realise one issue may be browser compatability but how many browsers these days don't support frames.
If it helps, I am writing an intranet application rather than a full internet app so I don't see browser type too much of an issue.
Thanks for your comments.
Graham Allwood
0
gallwood
10/16/2003 2:14:34 PM
asp.net.web-forms 93655 articles. 6 followers. Follow

8 Replies
1067 Views

Similar Articles

[PageSpeed] 4
Get it on Google Play
Get it on Apple App Store

Browser compatibility hasn't been the issue for a LONG time.  The issue is more about usability.  The idea is that it's preferable NOT to use frames unless you have a compelling reason, as some / many users find them confusing.

I wonder what the scenario is where you would prefer using them? Is it just a matter of comfort in coding? Is it content that *must* remain on the screen at all times, as opposed to scrolling out of view? Is it content that takes a while to render?
0
Stephen
10/16/2003 2:51:35 PM
I never recomend IFRAMES for the web based application. 

Application without IFRAME/FRAME increases usuability of the application.
~ Firoz Ansari
Pune, India
http://www.firozansari.com
Why product testing is important?
0
firoz
10/16/2003 3:01:11 PM
Stephen,

at present my pages all contain a table, the left cell is for a navigation control, the right cell is for the content (more user controls). The navigation control is a hybrid of the gotdotnet menu control they posted on their site, so there is quite a lot of html even when some section are collapsed.
I also notice a flicker when going from one page to the next. My pages are quite graphical (but subtle at the same time :-) ).
I thought that I could use frames to prevent the rendering of the nav menus on every page. The idea was that the frame borders would be zero width and not visible, the background of the laft and the right would be the same so essentially the user does not know we are using frames (appart from the menus not scrolling off the top of the page when the content is scrolled).
I see what you mean about it is preferable to NOT use frames, there are a lot of sites that don't bother where to me it would seem a possability. Like this site for example.
Graham
0
gallwood
10/16/2003 3:10:08 PM
Why does it increase usability if the frames are essentially hidden from the user, i.e. background color the same, no border and no resizing?

0
gallwood
10/16/2003 3:11:31 PM
frames = headaches with asp.net

you'll be writing javascript to cause frames to be reloaded when another frame changes
i suggest using usercontrols on pages - its logically the same as frames, but easy to program against
0
phishstick40
10/16/2003 3:13:33 PM
0
firoz
10/16/2003 3:22:44 PM
Thanks for the links.

It appears to me that the use of frames in these article is quite accepted. Is it really that much of a nightmare in ASP.NET?
0
gallwood
10/17/2003 8:33:17 AM
I am using them in for a corporate web site app.  I have 2 frames (Content and Main).  Content is used to select report options and Main is used to display a DataGrid, Form, or Chart.

I like frames. It allows my users to be able to resize the window (especially if you're using any type of tree view). Also, the Contents frame does not reload every postback, while allowing users to instantaniously change an option without running through the entire report option page again.
At the same time, user controls are great if:
-you are the only developer
or
-everyone in your group programs in the same language
User Controls cannot be used cross language platforms where as Custom Controls can be.
Use a Custom Control if you need it to work across multpile language platforms (ie. c# + vb)
good luck
0
jmiller4
10/17/2003 8:52:12 PM
Reply:

Similar Artilces:

frame or no frame
I've read through quite a bit of opinions, but without a definate answer. I'm writing a page in asp.net 2.0 and it includes a seperate page hosted on a seperate domain.  I was going to just throw it in a frame and call it good, but I'm reading that that is not such a good idea.  Anyone have a simple way to do this, I'd like to use the master page for the site and just have an area that is framed.  Sorry if I am missing something obvious, I tend to do that lately.   You have two ways to do it.   If you own the second domain, or can ask the owner nicely, set up t...

To frame or not to frame
Hi,    I was having troubles with framing my website using visual web developer 2008 and so was looking around on this forum. It was surprising to see many negative comments about frames and to find out that XHTML doesnt even support frames. Now Im leaning towards not using frames. I want to have 3 different sections of my website: A header with my company name A side section where I can put links and maybe put advertisements later on (graphics) A main section where all the real stuff shows up  The problem is that Visaul Web developer doesnt support that kind o...

To frame or not to frame...
I know this is probably a matter of opinion...but if you have an application that is using large datasets that can not be cached, does it make sense to use frames on your site to save some processing of other database driven menus, and whatnot?? Does this cause a headache if you are dealing with an application that requires user authentication, since you have to now check on serval pages for authorization? Maybe an IFrame for content is better? Just one of those questions that has been bugging me. thanks... I would not use frames. I would instead use fragment caching, that is, cre...

To frame or not to frame?
Hi all,Normally do you build your web apps using frames? I'm having several troubles using firefox, its behaviour presents many differences.. it does not accept resizing, borders etcthanks It is probably a personal thing with frames. Personally I think they are nasty. They cause more problems than they solve. They do not meet accessibility standards. The improvements on caching with ASP.NET allow for very fast returns by caching user controls that you might normally keep in a frame, such as menu/navigation. That's an easy one. Not to. It means ugly Javascript solutions, problems wi...

How to Create Framed Web Forms in VS.NET?
Hi, I'm using Visual Studio.Net to create my web applications. In design view of a web form on the menubar there is a "Frames" option, but its contents are always disabled. I'm assuming that this option is there to let you create framed pages, right? Why is this option always disabled? Is it a setting in VS.NET that needs to be changed to enable them? How do you create framed pages in this environment? Is writing actual HTML the only way to do this? Any help is much appreciated. Thanks, Shawnsa4720k These options are only available to a Frameset page. You can add ...

How to divide a form into two forms, just like as we divide a frame into two frames
 I am very new to this .net and HTML world. I want to break a web page into two sections. In first section I load data in a one column Grid and data elements are hyperlink. Now I want that when I click at that hyperlink, its navigateUrl="image.aspx" should open in the second section of that page. QUESTION:How to break the page(form) into two pages(forms/section)?How to load the coming page(form) into second section?I have some idea of "target"  field but could not use it.I am using ASP.net. I am looking for the detailed answer.  Hi, As far as&n...

Web Forms and frames
Hi I have a web site that has a horizontal headder frame with 3 hyper links that link to 3 different pages that are displayed in the main frame below depending on what link was selected. When the user makes a selection from a number of controls in the main frame I generate a string representing the selection. How can I make the Header Frame display this string as a lable above the main page. I don't know how to pass this parameter to the headder frame. I am coding in c# with .net1.1 I`m afraid you will have to make it trough JScript, because the frames don´t have the same SessionState obje...

Web Forms+ Frames ??
Hi, Could someone tell me how to call a method in one frame from another frame belonging to the same Frameset? I have a frameset (MyFrameset1) with four frames (Frames1, Frames2,...). Frame2 has method1, method2,... Frame1 has the method process_submit_Button ( an event handler). I want to call method1 of Frame2 from the process_submit_Button method of frame1. How do I do this in ASP.NET? I used ASP.NET frameset feature to create the four frames. When I say frame2 has methods1,... read it as Frame2 has a page which has methods method1,... Thanks for your help. > I want to...

Using frame on web form similiar to group on windows form
Hi, I wish to group textboxes, labels, listboxs etc on a frame on my web form. I would this to be structured and drag-and-drop like you would with a group box on a windows form. When I add items to my frame, they all squash up to the top-left of the frame. How do I get around this? > I would this to be structured and drag-and-drop You can only achieve this sort of placement with an editor that supports Grid Layout, such as VS.NET or Dreamweaver. Without Grid Layout, all controls will "flow" from the top left. What IDE/editor are you using?Alister I am using V...

How to display frame by frame video in web browser?
Hello,My requirement is, I am getting video frames from a camera. Currently, an exe which will render the frames in a Windows application. Now I want to achieve the same thing from the Web Browser.1. How to achieve the same thing, should I use web server to stream frames or Windows Media Service.?2. How to display the frames in the browser? Does the windows media player control supports the same? I tried the video clip, it works but my case is different. If windows media player supports how to do the same.Thanks in advance.-Samir...

superreview requested: [Bug 279682] ###!!! ASSERTION: Form control has a frame, but it's not a form frame : [Attachment 173441] Patch rev. 1
Mats Palmgren <mats.palmgren@bredband.net> has asked Boris Zbarsky <bzbarsky@mit.edu> for superreview: Bug 279682: ###!!! ASSERTION: Form control has a frame, but it's not a form frame https://bugzilla.mozilla.org/show_bug.cgi?id=279682 Attachment 173441: Patch rev. 1 https://bugzilla.mozilla.org/attachment.cgi?id=173441&action=edit ...

superreview granted: [Bug 279682] ###!!! ASSERTION: Form control has a frame, but it's not a form frame : [Attachment 173441] Patch rev. 1
Boris Zbarsky <bzbarsky@mit.edu> has granted Mats Palmgren <mats.palmgren@bredband.net>'s request for superreview: Bug 279682: ###!!! ASSERTION: Form control has a frame, but it's not a form frame https://bugzilla.mozilla.org/show_bug.cgi?id=279682 Attachment 173441: Patch rev. 1 https://bugzilla.mozilla.org/attachment.cgi?id=173441&action=edit ------- Additional Comments from Boris Zbarsky <bzbarsky@mit.edu> r+sr=bzbarsky ...

NetStorage Frame in Frame
--____USSHZKHRTKSQNTOQSGEX____ Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable We have problems using the browser acces to netstorage. After login its = open frame in frames and not showing the files. Reinstalling netstorage = changed nothing. WEBDAV access is working fine. With kind regards, Bodo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D MEBSware Informatik GmbH Bodo Schulz Bodo.Schulz@MEBSware.DE www.mebsware.de =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D...

Frames & Web Forms
I've been stuck with this for over a day now. Basically, when my page loads, it loads a different page within a frame. At the same time, I would like to open another window (by using window.open in js, unless anybody knows of another way). The frame loads as it should. However, I am unable to execute this window.open at the same time. I'll post my code below. One thing I noticed, however,  is that in the .ASPX file, notice how the <frameset> section is above the <body> section. If I move the <frameset> section to below the <body> section then the injected ...

Web resources about - Frames or NO frames. - asp.net.web-forms

Frame - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Sacked Penrith Panthers coach Ivan Cleary in the frame for Kangaroos job
Ivan Cleary has emerged as a contender for the vacant Kangaroos coaching job following his shock sacking at Penrith.

Canada in the Frame
This webseries brings viewers inside a pop-up art gallery experience as attendees provide their candid, spontaneous reactions to a wide variety ...

Fatal Frame: Maiden of Black Water review: Ghost-emon Snap
... photography simulation has finally found a spiritual successor that has made its way back to North America. I'm not talking about Fatal Frame ...

The ultimate troll: Jar Jar edited into almost every frame of new ‘Star Wars’ trailer
... acting of Jake Lloyd. Now a new video posted by YouTuber murdockmotion plays on those fears by inserting Jar Jar into nearly every frame of ...

A man accused of trying to frame a blogger with heroin is in big trouble
Journalist Brian Krebs has probably done more to uncover dangerous hackers and their schemes than any other reporter. And the hackers are none ...

Nieto believes Sharks let down in second frame vs LA Kings
... Home Giants A's Sharks Warriors Kings 49ers Raiders Quakes Insiders More Tickets Shop Watch Nieto believes Sharks let down in second frame vs ...

How to fix the iPhone 6s Plus’ frame rate problem
The iPhone 6s Plus has a frame rate problem, and the only solution is more cowbell right here! Although it’s not necessarily something your average ...

Adult Titles ‘Our Brand Is Crisis,’ ‘Burnt’ Fall Like Dominoes As ‘The Martian’ Dominates Halloween Frame ...
... a film which has been riding a heat wave on an A CinemaScore and 93% Rotten Tomatoes rating, took No. 1 for the fourth time in its fifth frame ...

Review: Fatal Frame: Maiden of Black Water
I was on the cusp of adolescence when I first played the original Fatal Frame . My friend Richard and I spent many a summer night with eyes wide ...

Resources last updated: 11/23/2015 8:12:12 PM