473,322 Members | 1,781 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,322 software developers and data experts.

Refresh my memory:Interactions between separate IE instances?

Ok guys, refresh my memory. I have a vague memory from years ago of a Dot
Net 1.1 web app in which one window was opened from another (not a message
box or anything like that, but a fully separate Internet Explorer. When the
finish button was clicked, the second window while closing somehow triggered
a refresh in the window that originally called it.

What was this technique called?
Jan 23 '08 #1
3 1296
Javascript's opener property can be used to call functions in the original window from the new window. Use the onunload event of the new window to trigger the refresh.

B. Chernick wrote:
Ok guys, refresh my memory. I have a vague memory from years ago of a Dot
Net 1.1 web app in which one window was opened from another (not a message
box or anything like that, but a fully separate Internet Explorer. When the
finish button was clicked, the second window while closing somehow triggered
a refresh in the window that originally called it.

What was this technique called?
Jan 23 '08 #2
Not sure if the "technique" actually has a name, but essentially you are
telling the parent to call a method from inside the unload event handler of
the child window (or a similar event). it can also be done in the parent
window itself using stuff like the returnValue on the window object returned
from the window.open method.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"B. Chernick" wrote:
Ok guys, refresh my memory. I have a vague memory from years ago of a Dot
Net 1.1 web app in which one window was opened from another (not a message
box or anything like that, but a fully separate Internet Explorer. When the
finish button was clicked, the second window while closing somehow triggered
a refresh in the window that originally called it.

What was this technique called?
Jan 23 '08 #3
Thanks to both of you.

After some hacking I was able to get a demo going, using a javascript
function call from a link to launch a 2nd window. I then put a button and a
textbox on the form of the 2nd window. When the button is clicked, the
textbox's value is put in a session state variable and a
ClientScriptManager.RegisterStartUpScript call (would have been
Page.RegisterStartupScript in Dot Net 1.1) is used to call another javascript
function which closes the popup and refreshes the parent window. The refresh
allows the display of the session state variable.

(But this still doesn't feel like what I used to to on my last job. I could
have sworn there was another VB function that was used. Oh well, at least
this works.)

"Ralph Wiggum" wrote:
Javascript's opener property can be used to call functions in the original window from the new window. Use the onunload event of the new window to trigger the refresh.

B. Chernick wrote:
Ok guys, refresh my memory. I have a vague memory from years ago of a Dot
Net 1.1 web app in which one window was opened from another (not a message
box or anything like that, but a fully separate Internet Explorer. When the
finish button was clicked, the second window while closing somehow triggered
a refresh in the window that originally called it.

What was this technique called?
Jan 25 '08 #4

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

Similar topics

1
by: Michael Williams | last post by:
Hi, I am trying to understand the performance implications of running a number of separate ActiveXexe processes as opposed to a single ActiveXexe with multiple threads on a Windows 2000 server....
0
by: Andreas Suurkuusk | last post by:
Hi, I just noticed your post in the "C# memory problem: no end for our problem?" thread. In the post you implied that I do not how the garbage collector works and that I mislead people. Since...
1
by: Walter | last post by:
Dear all, i am planing to implement a Windows 2003 Cluster with MS SQl 2000 Enterprise Edition. I have 2 Nodes (4 * XEON MP Processors) with 8 GB RAM per Node. I have the need for 6 SQL...
16
by: Justin Lazanowski | last post by:
Cross posting this question on the recommendation of an I have a .NET application that I am developing in C# I am loading information in from a dataset, and then pushing the dataset to a grid,...
25
by: Zeng | last post by:
I finally narrowed down my code to this situation, quite a few (not all) of my CMyClass objects got hold up after each run of this function via the simple webpage that shows NumberEd editbox. My...
1
by: dries | last post by:
Hi, From a previous sys-admin I inherited a a MS-SQL (2000) machine with 3 instances. It is a nice machine with 4 Gb of memory but the memory allocation is very weird: Instance A: 1400Mb...
2
by: mgoold2002 | last post by:
Hello. I've just begun programming in VB .NET, and I'm trying to turn all my modules into classes. In order to retrieve/exchange values from one class to another, I initiated New instances of the...
2
by: J.Marsch | last post by:
All: I am having a problem with Microsoft Reporting Services. I am running a local report (RDLC) on ASP.Net. Running the report obviously can use a lot of memory because it must consume...
4
by: Peter | last post by:
ASP.NET 3.5 I have a web page and this web page has a DataList, when user hovers the mouse over a picture in the datalist a popup appers, this popup is a User Control and it has a cancel button....
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.