473,586 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ 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 1467
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.language s.Jscript, but I think that
is a dead newsgroup, so maybe you find an answer in the newsgroup.

public.dotnet.f ramework.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_botto m.document.href = "PageBottom?Ite m1=val1&Item2=v al2

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_bott om"
formtop.action = "bottomform.asp x"
formtop.submit( )

"Timothy Elvidge" <ti*@plum.co.nz > wrote in message
news:BD******** *************** ***********@mic rosoft.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.Redire ct() 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.EventArg s) Handles MyBase.Load
If Not IsPostBack Then
Me.Button1.Text = "Send Mail"
Me.Button1.Attr ibutes("onClick ") = _
"window.locatio n='mailto:no*@n on.com?subject= Cor demo&body=I hope this
helps?';"
End If
End Sub
///
\\\
Dim str As String
str = "<script language=javasc ript> {window.open('h ttp://www.google.com' );}
</script>"
RegisterStartup Script("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
2310
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. I am a real beginner in programming. I am making a baking recipe site. For each section, say cookies, I will have around 100 recipes, which will...
1
1894
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 prev in the list of 10 files Unfortunately I do not know JavaScript - that's why my post.... ;-) Could anybody point me in the right direction...
2
1672
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 frame (ie BodyFrame). Everytime I click on a submenu to show files in the body frame, the left frame menu stops being dynamic or clickable. Any ideas? ...
4
329
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 selected and a button is then clicked. I then want the details frame to display the results using the parameters from the menu frame.
4
2197
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 kinda personalized). The right frame contained the website of the link clicked in the navigation frame. Wanting to learn ASP.Net 2.0, I thought...
11
2219
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 http://thecatcoach.com I created it using frames because I wanted a static left hand navigation with changing content area. So... of course after I...
4
9958
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%" height="100%" frameborder="0" scrolling="no" /> <frame src="Default.aspx" id="RightFrame" name="RightFrame" width="80%" height="100%" frameborder="0"...
0
7912
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...
0
7839
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...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
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...
0
8216
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
2345
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 we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
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...

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.