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

Home Posts Topics Members FAQ

Simple Frame navigation

In a two frameset split horizontally. How do I have a button in one frame (the menu frame) request the (details) frame to display itself with parameters. I.e in the top frame various options are selected and a button is then clicked. I then want the details frame to display the results using the parameters from the menu frame.
Jul 21 '05 #1
4 1452
Cor
Hi Timothy

Is this a webform (while in dotnet in my opinion a frameset is not
standard) and therefore this looks form me more a JavaScript question than a
general dotNet question.

I can say look in the newsgroup dotnet.languages.Jscript, but I think that
is a dead newsgroup, so maybe you find an answer in the newsgroup.

public.dotnet.framework.aspnet which is an active newsgroup.

I hope this helps?

Cor
In a two frameset split horizontally. How do I have a button in one frame

(the menu frame) request the (details) frame to display itself with
parameters. I.e in the top frame various options are selected and a button
is then clicked. I then want the details frame to display the results using
the parameters from the menu frame.
Jul 21 '05 #2
If the bottom frame name is frame_bottom then from the top frame button
event call...

top.frame_bottom.document.href = "PageBottom?Item1=val1&Item2=val2

let me know if this works for you, if not i can send some samples.

you can also change the target and action in your form for the top frame to
point to the bottom frame and use request.form.

formtop.target = "frame_bottom"
formtop.action = "bottomform.aspx"
formtop.submit()

"Timothy Elvidge" <ti*@plum.co.nz> wrote in message
news:BD**********************************@microsof t.com...
In a two frameset split horizontally. How do I have a button in one frame

(the menu frame) request the (details) frame to display itself with
parameters. I.e in the top frame various options are selected and a button
is then clicked. I then want the details frame to display the results using
the parameters from the menu frame.
Jul 21 '05 #3
Thanks for the assistance. It looks like your solution is javascript run
on the client side. Is this the only way to do it? Or is there some
syntax in ASP.NET simliar to Response.Redirect() that I can use in the
OnClick Event fired for the top pages button. Could you please send me a
sample of how to do this.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4
Cor
Hi Timothy

Have a look of one of those samples will help you

\\\needs a button on a webpage
Private Sub Page_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Me.Button1.Text = "Send Mail"
Me.Button1.Attributes("onClick") = _
"window.location='mailto:no*@non.com?subject=C or demo&body=I hope this
helps?';"
End If
End Sub
///
\\\
Dim str As String
str = "<script language=javascript> {window.open('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

There are more "Register" methods. Have a look for that to the "Page"
members

I hope this helps a little bit?

Cor
Jul 21 '05 #5

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

Similar topics

3
by: Alan Clark | last post by:
Dear All I need to do something very simple with Javascript and have been looking all over the web for two days for a suitable script. I'm the kind of person who learns by seeing how it's done....
1
by: saturnius | last post by:
Hi, I would like to have a navigation menu with prev/next in a top frame and in the main frame a PDF file. I think this might be possible with JavaScript: - get current file name - go to next...
2
by: dawaves | last post by:
Hello, I'm new to javascript so bear with me.... I have a t-based frame site with my javascript-based menu on the left hand frame (ie NavFrame) with its submenus showing up on the right side...
4
by: Timothy Elvidge | last post by:
In a two frameset split horizontally. How do I have a button in one frame (the menu frame) request the (details) frame to display itself with parameters. I.e in the top frame various options are...
4
by: Jim | last post by:
I saw a simple web page. It had a frameset with 2 frames. The left frame was a navigtion frame, with links to interesting websites and a place to place a username (guess some of the websites were...
11
by: Marilyn | last post by:
Hi everyone, I'm wondering if someone can help me... <sigh> I feel like I'm in a loop and can't seem to figure out how to get out of it. Here's the chronology and the problem: My site is...
4
by: ChrisC | last post by:
I have a nice simple page - navigation frame on the left, main panel on the right - <frameset cols = "20%, 80%"> <frame src="LeftPanel.aspx" id="leftFrame" name="leftFrame" width="20%"...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
1
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...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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 ...

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.