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 | | | | 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] | | | | 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] | | | | 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] |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,418 network members.
|