471,089 Members | 1,293 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

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 1240
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by John Willingham | last post: by
6 posts views Thread by Nancy Carter | last post: by
1 post views Thread by Major Johnson | last post: by
2 posts views Thread by Psapg | last post: by
4 posts views Thread by dragooon | last post: by
reply views Thread by Giggle Girl | last post: by

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.