473,378 Members | 1,410 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

ASP Reload

I am looking for some sample code. I have an ASP page that uses frames. I
will call them Frame 1, Frame 2, Frame 3. Frame 2 has a three dropdown
lists, I want to utilize Frame 3 based on what was selected in Frame 2. I
kind of understand about the client/server thing, I think all I need to do
is re-load the page somehow. Maybe onchange event with the passing of a
variable or two.

Can someone please point me in the right direction.

Thanks
Jul 21 '05 #1
2 2887
Not really ASP related (you'd have to do the same thing if the frames were
HTML pages).

<select onchange='parent.frames["framename"].location.reload();'>

--
http://www.aspfaq.com/
(Reverse address to reply.)


"SyrHoop" <dt*******@yahoo.com> wrote in message
news:uj**************@TK2MSFTNGP11.phx.gbl...
I am looking for some sample code. I have an ASP page that uses frames. I will call them Frame 1, Frame 2, Frame 3. Frame 2 has a three dropdown
lists, I want to utilize Frame 3 based on what was selected in Frame 2. I
kind of understand about the client/server thing, I think all I need to do
is re-load the page somehow. Maybe onchange event with the passing of a
variable or two.

Can someone please point me in the right direction.

Thanks

Jul 21 '05 #2
Yes, the client-side onchange event would be a good choice.

default.asp:
<frameset cols="20%, 80%">
<frame src="page1.asp">
<frame src="page2.asp" name="theFrameName">
</frameset>

page1.asp:
<select
onchange="parent.theFrameName.location.href='page2 .asp?x='+this.value;">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
</select>

page2.asp:
You selected <%=Request.Querystring("x")%>

Ray at work

"SyrHoop" <dt*******@yahoo.com> wrote in message
news:uj**************@TK2MSFTNGP11.phx.gbl...
I am looking for some sample code. I have an ASP page that uses frames. I
will call them Frame 1, Frame 2, Frame 3. Frame 2 has a three dropdown
lists, I want to utilize Frame 3 based on what was selected in Frame 2. I
kind of understand about the client/server thing, I think all I need to do
is re-load the page somehow. Maybe onchange event with the passing of a
variable or two.

Can someone please point me in the right direction.

Thanks

Jul 21 '05 #3

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

Similar topics

66
by: Ellinghaus, Lance | last post by:
> > Other surprises: Deprecating reload() >Reload doesn't work the way most people think >it does: if you've got any references to the old module, >they stay around. They aren't replaced. ...
4
by: David MacQuigg | last post by:
I'm going to be teaching EEs some basic Python using the first few chapters of Learning Python, 2nd ed. by Mark Lutz. The discussion on Reloading Modules starting on page 266 is confusing and I...
1
by: Emmanuel | last post by:
Hi, I use a 'reload all' feature in my app, that allow to reload every module. I first try this version : import sys def Reload():
1
by: zdhiu | last post by:
Hi javascript gurus, I have a simple html file (simple.html) with javascript. In html page there is sentence from variable defined in .js file (myFirst.js). Once I reload another .js file...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
4
by: Lonnie Princehouse | last post by:
So, it turns out that reload() fails if the module being reloaded isn't in sys.path. Maybe it could fall back to module.__file__ if the module isn't found in sys.path?? .... or reload could...
3
by: John Salerno | last post by:
I understand that after you import something once, you can reload it to pick up new changes. But does reload work with from statements? I tried this: from X import * and then did my testing....
8
by: T. Wintershoven | last post by:
Hi all, Is there a simple way in php to reload a page coded within an if statement.(see code below) It's very important that the session stays intact. The filename is RCStudent.php ...
1
by: bernhard.voigt | last post by:
Hey! I'm using ipython as my python shell and often run scripts with the magic command %run: In : %run script.py If modules are loaded within the script these are not reloaded when I rerun...
0
by: Rafe | last post by:
Hi, This seems to be an old question, and I've read back a bit, but rather than assume the answer is "you can't do that", I'd thought I'd post my version of the question along with a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.