473,802 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
+ 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.WriteF ile, 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 1369
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********@com cast.net> wrote in message
news:o7******** ************@co mcast.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.WriteF ile, 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**@NospaaMeq uanimity.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.c om> wrote in message
news:OQ******** ******@TK2MSFTN GP10.phx.gbl...
don't reload the frameset on the right, just the source of its 2 frames.

-- bruce (sqlwork.com)

"xzzy" <mr********@com cast.net> wrote in message
news:o7******** ************@co mcast.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.WriteF ile, 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
2724
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 login, only the menu bar frame exists to allow the user to select a search form. After this, only the menu bar and the search form are visible.) Now the users are to be able to resize the frames. WIBNI the webapp could remember the frame sizes...
3
2778
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 site's webmaster that will reload the deep linked pages with their banner and navigation frames. I want the script to reload with the originally targeted page. I don't want users to get redirected to the site's homepage and force them to navigate...
1
2776
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
56646
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" cols="240,*"> <frame name="links" scrolling="no" noresize target="contents" src=""> <frameset bgcolor="#000000" frameborder="0" border="0" rows="135,*"> <frame name="topbanner" scrolling="no" src="">
1
1483
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="*" frameborder="yes" border="1" framespacing="0"></frameset> Thank you.
2
2133
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 other resolution than the one it was created in, some pictures shift locatiuons. If this was a non frames page i knew how to fix it... Is there any was to automaticaly resize a frameset proportionaly to the
4
1299
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 just fine. Is there any workaround? Thanks!
0
4743
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" between the three frames is blue, 4 or 5 pixels wide, and -- most importantly! -- draggable! It is great -- in IE, that is. Is it possible to have this same look and behavior in Firefox?
15
7579
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" between the three frames is blue, 4 or 5 pixels wide, and -- most importantly! -- draggable! It is great -- in IE, that is. Is it possible to have this same look and behavior in Firefox?
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10536
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10285
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.