473,378 Members | 1,104 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.

refreshing the screen

I have a page I use in a pop-up window. The result of the pop-up saves
data to a database.

When the data is finished saving I want to refresh the screen that
opened up the pop_up.

I can open the pop_up from about a number of different pages.

My code at the conclusion of the pop_up looks to see what window it was
opened from so I have some kludgy code that tries to determine that
(actually a cf client variable gets set).
Every time I open the window though from a new page I have to modify
the script to add that new page.

Instead of using something like:
self.opener.location='mypgm.cfm?num=42';

there must be some kind of self.opener.refresh or self.opener.reload
that will just refresh teh page I came from.

For this particular scenario I am just concerned with it working in IE.

Any help is appreciated.

Mike

Sep 1 '05 #1
3 4143
mike <hi****@charter.net> wrote:
Instead of using something like:
self.opener.location='mypgm.cfm?num=42'; there must be some kind of self.opener.refresh or self.opener.reload
that will just refresh teh page I came from.


I believe

self.opener.location=self.opener.location;

will do the trick...

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Sep 1 '05 #2
Christopher Benson-Manica schrieb:
mike <hi****@charter.net> wrote:

Instead of using something like:
self.opener.location='mypgm.cfm?num=42';


there must be some kind of self.opener.refresh or self.opener.reload
that will just refresh teh page I came from.

I believe

self.opener.location=self.opener.location;

will do the trick...


Didn't tested with self.opener, but self.opener.location.reload() should do the
trick too :)
Sep 1 '05 #3
Yes, it did cool. thanks

Sep 1 '05 #4

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

Similar topics

1
by: edward hage | last post by:
The following program is an applet that reads a number from a file 10 times per second. It needs to be shown graphically. The file monitors a procesvariable and changes continuously. It is read...
1
by: sentinel | last post by:
Hello, I'm having problems refreshing a main window, and am not sure really whether the solution will be Javascript or PHP related. Firstly, I have a main file that calls a pop-up box which...
60
by: A.Translator | last post by:
I have been struggling with a page that is based on a table structure (because that is all I am feeling comfortable with at the moment) styled with css. One of the problems I run in to is Opera...
1
by: LRD | last post by:
Form not refreshing after autopostback unless keyboard or mouse move Hi, We created several new ASP.NET C# forms for our intranet. In each form we use panels for different sections of the...
1
by: Tom | last post by:
I have an ASP.NET web page coded in VB.NET (2003). That web page has a dropdown box on it which is loaded during the page_load event. When the user drops this down and selects a data item, the...
3
by: Ray Stevens | last post by:
I know there is a setting that will prevent screen flashing when refreshing a web page but cannot seem to find it. Can someone point me in the right direction?
4
by: Nikola Bucic | last post by:
I have a problem with picturebox. I'm drawing on it with picturebox.DrawString, picturebox.DrawRectangle, etc. and it's working fine. But when I open another window over it I lost that. Triggering...
6
by: Chris Moore | last post by:
I have a .NET form where I am updating a progress bar & counter. As long as the form never loses focus, everything on the form refreshs fine. But If I open another window (like Windows Explorer)...
0
by: lv2compute | last post by:
I am having a problem with my datagridview. I have a small table that has two columns. The first column is bound to my dataset. The second column is a combobox. I add items to the combobox based on...
10
by: Dan2kx | last post by:
hello, i have a quick question, is there anyway to speed up a listbox refreshing, its quite large with 18 columns and so far upto 30 rows, but it updates row by row every time the screen changes (ie...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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.