473,473 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Writing to a frameset causes the frameset to resize

VS 2003, code behind is C#

Situation:

1. a webpage has 4 frames:

TOP
LEFT RIGHT
BOTTOM
2. RIGHT frame has 2 frames: ONE, TWO
3. The only interaction between frames is in one direction from LEFT to
RIGHT.
4. depending upon which button is pressed in the LEFT frame, the RIGHT
frame is overwritten with a new source, in either case, a .htm page that has
2 frames: ONE, TWO ( both .aspx pages )
5. The first time the RIGHT frame is changed, everything is okay. The
second time, regardless of which .htm page is selected to overwrite the
RIGHT frame, the frames in RIGHT ( ONE and TWO ) change sizes.
6. The above happens regardless of whether the update is done with a
Response.Write, Response.WriteFile, Server.Transfer,
using the , true) , false) or don't care settings, and it doen't matter
if the .aspx pages in ONE and TWO either have code behind that does
something, or the codebehind is just the boilerplate stuff VS puts in when a
..aspx page is created in VS.
Question: How to prevent the 2 frames in RIGHT from resizing by them selves?
John Bickmore

Mar 23 '06 #1
4 1347
Hi John,

How do they change in size? 50 / 50 becomes 40 / 60 ?

--
Ward Bekker
"Asp.Net Discussions for the Professional Developer"
http://www.dotnettaxi.com

"Free .Net 2.0 C# to/from VB.Net Code Converter"
http://www.dotnettaxi.com/Tools/Converter.aspx
Mar 23 '06 #2
don't reload the frameset on the right, just the source of its 2 frames.

-- bruce (sqlwork.com)

"xzzy" <mr********@comcast.net> wrote in message
news:o7********************@comcast.com...
VS 2003, code behind is C#

Situation:

1. a webpage has 4 frames:

TOP
LEFT RIGHT
BOTTOM
2. RIGHT frame has 2 frames: ONE, TWO
3. The only interaction between frames is in one direction from LEFT to
RIGHT.
4. depending upon which button is pressed in the LEFT frame, the RIGHT
frame is overwritten with a new source, in either case, a .htm page that
has
2 frames: ONE, TWO ( both .aspx pages )
5. The first time the RIGHT frame is changed, everything is okay. The
second time, regardless of which .htm page is selected to overwrite the
RIGHT frame, the frames in RIGHT ( ONE and TWO ) change sizes.
6. The above happens regardless of whether the update is done with a
Response.Write, Response.WriteFile, Server.Transfer,
using the , true) , false) or don't care settings, and it doen't
matter
if the .aspx pages in ONE and TWO either have code behind that does
something, or the codebehind is just the boilerplate stuff VS puts in when
a
.aspx page is created in VS.
Question: How to prevent the 2 frames in RIGHT from resizing by them
selves?
John Bickmore

Mar 23 '06 #3
the second write to the frame causes them to change from 40 / 60 to 50 / 50,
and it remains 50 / 50 thereafter.

John Bickmore

"Ward Bekker" <wa**@NospaaMequanimity.nl> wrote in message
news:dv**********@news.cistron.nl...
Hi John,

How do they change in size? 50 / 50 becomes 40 / 60 ?

--
Ward Bekker
"Asp.Net Discussions for the Professional Developer"
http://www.dotnettaxi.com

"Free .Net 2.0 C# to/from VB.Net Code Converter"
http://www.dotnettaxi.com/Tools/Converter.aspx

Mar 23 '06 #4
I think I am a javascript dummy because:

top.frames["TOP"].frames["RIGHT"].document.href = 'abc.aspx'

doesn't work

John Bickmore
"Bruce Barker" <br******************@safeco.com> wrote in message
news:OQ**************@TK2MSFTNGP10.phx.gbl...
don't reload the frameset on the right, just the source of its 2 frames.

-- bruce (sqlwork.com)

"xzzy" <mr********@comcast.net> wrote in message
news:o7********************@comcast.com...
VS 2003, code behind is C#

Situation:

1. a webpage has 4 frames:

TOP
LEFT RIGHT
BOTTOM
2. RIGHT frame has 2 frames: ONE, TWO
3. The only interaction between frames is in one direction from LEFT to
RIGHT.
4. depending upon which button is pressed in the LEFT frame, the RIGHT
frame is overwritten with a new source, in either case, a .htm page that
has
2 frames: ONE, TWO ( both .aspx pages )
5. The first time the RIGHT frame is changed, everything is okay. The
second time, regardless of which .htm page is selected to overwrite the
RIGHT frame, the frames in RIGHT ( ONE and TWO ) change sizes.
6. The above happens regardless of whether the update is done with a
Response.Write, Response.WriteFile, Server.Transfer,
using the , true) , false) or don't care settings, and it doen't
matter
if the .aspx pages in ONE and TWO either have code behind that does
something, or the codebehind is just the boilerplate stuff VS puts in when a
.aspx page is created in VS.
Question: How to prevent the 2 frames in RIGHT from resizing by them
selves?
John Bickmore


Mar 23 '06 #5

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

Similar topics

13
by: Kai Grossjohann | last post by:
I have a web app which comprises different frames: a menu bar frame, a search form frame, a result list frame. Depending on the state, only a subset of these frames is available. (Eg, after...
3
by: John Willingham | last post by:
Hi, Any assistance with the following would be greatly appreciated. I am deep linking to a site that is built with frames and I would like to find a script that I can share with the remote...
1
by: Julius Mong | last post by:
Dear all, I have the following: <html> <head> .... </head> <frameset ...> <frame .../> <frameset name="page" rows="60,*" ...> <frame src='top.html' .../>
6
by: Nancy Carter | last post by:
I'm trying to set the background color of a frameset to black. The following code doesn't work in either IE 6.0 or Firefox. Any ideas why? <frameset bgcolor="#000000" frameborder="0" border="0"...
1
by: Major Johnson | last post by:
Just wondering if it's possible to resize frameset dimensions from code-behind? If so, how? In the example below, for instance, I'd like to NOT hard-code . <frameset rows="100,*" cols="*"...
2
by: Psapg | last post by:
Hi Probably not the best group to post this, but i could'nt find the "right"one so here it goes.. I have a frameset page as my index.html page and have noticed that if my page is opened in...
4
by: dragooon | last post by:
Does anybody notice that word document does not work with frameset? If you load a word document into a frame, this frame then can not be resized, but if you load other office documents it works...
0
by: Giggle Girl | last post by:
Hello there, :) I need a frameset that will have the same look and behavior in Firefox 1.5+ as it does in IE 6+. Here is a URL for it: http://66.51.164.93/fs/default.htm In IE, the "seam"...
15
by: Giggle Girl | last post by:
Hello there, :) I need a frameset that will have the same look and behavior in Firefox 1.5+ as it does in IE 6+. Here is a URL for it: http://66.51.164.93/fs/default.htm In IE, the "seam"...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
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...
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...
0
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.