Connecting Tech Pros Worldwide Forums | Help | Site Map

Writing to a frameset causes the frameset to resize

xzzy
Guest
 
Posts: n/a
#1: Mar 23 '06
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






Ward Bekker
Guest
 
Posts: n/a
#2: Mar 23 '06

re: Writing to a frameset causes the frameset to resize


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
Bruce Barker
Guest
 
Posts: n/a
#3: Mar 23 '06

re: Writing to a frameset causes the frameset to resize


don't reload the frameset on the right, just the source of its 2 frames.

-- bruce (sqlwork.com)

"xzzy" <mrbikejoc1@comcast.net> wrote in message
news:o7adnSIUwYQqk7_ZRVn-uw@comcast.com...[color=blue]
> 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
>
>
>[/color]


xzzy
Guest
 
Posts: n/a
#4: Mar 23 '06

re: Writing to a frameset causes the frameset to resize


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" <ward@NospaaMequanimity.nl> wrote in message
news:dvts3t$3pi$3@news.cistron.nl...[color=blue]
> 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[/color]


xzzy
Guest
 
Posts: n/a
#5: Mar 23 '06

re: Writing to a frameset causes the frameset to resize


I think I am a javascript dummy because:

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

doesn't work

John Bickmore


"Bruce Barker" <brubar_nospamplease_@safeco.com> wrote in message
news:OQL9pHqTGHA.4080@TK2MSFTNGP10.phx.gbl...[color=blue]
> don't reload the frameset on the right, just the source of its 2 frames.
>
> -- bruce (sqlwork.com)
>
> "xzzy" <mrbikejoc1@comcast.net> wrote in message
> news:o7adnSIUwYQqk7_ZRVn-uw@comcast.com...[color=green]
> > 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[/color][/color]
when[color=blue][color=green]
> > a
> > .aspx page is created in VS.
> >
> >
> > Question: How to prevent the 2 frames in RIGHT from resizing by them
> > selves?
> >
> >
> > John Bickmore
> >
> >
> >[/color]
>
>[/color]


Closed Thread