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

Home Posts Topics Members FAQ

help with frames

I'm sure this is something simple that I'm missing, but here's my problem.

I have two frames.
<frameset>
<frame name="rtop" src="something1.aspx">
<frame name="rbottom" src="something2.aspx">
</frameset>

What I want is for "rbottom" to display a form and when the user presses the
OK button, the windows change for both frames. For "rbottom" all I have to do
is use Response.Redirect("somethingelse.aspx"). But how do I change "rtop"
first using C#?

Any help is appreciated. Thanks. pete.
Nov 23 '05 #1
2 1479
You are probably going to have to emit some client script to do this.

So for example (this is crude but hopefully you'll get the idea) before you
call Response.Redirect, you would do:

Response.Write("<script>document.frames['frameName'].src=newpage.aspx;</script>");

Cheers. Boy do I hate frames...
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"pete K" wrote:
I'm sure this is something simple that I'm missing, but here's my problem.

I have two frames.
<frameset>
<frame name="rtop" src="something1.aspx">
<frame name="rbottom" src="something2.aspx">
</frameset>

What I want is for "rbottom" to display a form and when the user presses the
OK button, the windows change for both frames. For "rbottom" all I have to do
is use Response.Redirect("somethingelse.aspx"). But how do I change "rtop"
first using C#?

Any help is appreciated. Thanks. pete.

Nov 23 '05 #2
Thanks for the help.

"Peter Bromberg [C# MVP]" wrote:
You are probably going to have to emit some client script to do this.

So for example (this is crude but hopefully you'll get the idea) before you
call Response.Redirect, you would do:

Response.Write("<script>document.frames['frameName'].src=newpage.aspx;</script>");

Cheers. Boy do I hate frames...
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"pete K" wrote:
I'm sure this is something simple that I'm missing, but here's my problem.

I have two frames.
<frameset>
<frame name="rtop" src="something1.aspx">
<frame name="rbottom" src="something2.aspx">
</frameset>

What I want is for "rbottom" to display a form and when the user presses the
OK button, the windows change for both frames. For "rbottom" all I have to do
is use Response.Redirect("somethingelse.aspx"). But how do I change "rtop"
first using C#?

Any help is appreciated. Thanks. pete.

Nov 23 '05 #3

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

Similar topics

1
by: Dave Smithz | last post by:
Hi there, I have implemented a login sequence using session variables for a PHP/MySQL DB which I took over development. I read some books and this NG and it seemed straight forward. However the...
1
by: martingerber | last post by:
Hi, I have the following script (javascript in html document): <html> <head> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"> <title>Standort Speichern</title>
14
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
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
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,...
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...
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
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...
0
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...
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.