473,511 Members | 17,486 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Refreshing or Redirecting Opener Window

Is it possible to redirect or refresh the contents of Page1 from within
Page2 where Page2 was opened by Page1?

Nov 17 '05 #1
3 6309
Thanks Steve. I must be overlooking something simple - I get the error
"object doesn't support this property or method
'window.opener.document.reload'"

I get similar results when I try to set the location of the opener or
attempt the redirect method of the opener. Why is it that, if 'opener'
returns a reference to a window object, intellisense does not display a list
of 'window' object members for the 'opener' object?

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Some client side javascript similar to this should do the trick:

window.opener.document.reload(true);

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Dan M" <da************@fhmd.org> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Is it possible to redirect or refresh the contents of Page1 from within
Page2 where Page2 was opened by Page1?


Nov 17 '05 #2
Hi

window.opener.location.reload(true);

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Dan M" <da************@fhmd.org> wrote in message
news:eP*************@TK2MSFTNGP10.phx.gbl...
Thanks Steve. I must be overlooking something simple - I get the error
"object doesn't support this property or method
'window.opener.document.reload'"

I get similar results when I try to set the location of the opener or
attempt the redirect method of the opener. Why is it that, if 'opener'
returns a reference to a window object, intellisense does not display a list of 'window' object members for the 'opener' object?

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Some client side javascript similar to this should do the trick:

window.opener.document.reload(true);

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Dan M" <da************@fhmd.org> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Is it possible to redirect or refresh the contents of Page1 from within Page2 where Page2 was opened by Page1?



Nov 17 '05 #3
That's what I needed. Thank you very much.

"Vidar Petursson" <th*****@icysoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
Hi

window.opener.location.reload(true);

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Dan M" <da************@fhmd.org> wrote in message
news:eP*************@TK2MSFTNGP10.phx.gbl...
Thanks Steve. I must be overlooking something simple - I get the error
"object doesn't support this property or method
'window.opener.document.reload'"

I get similar results when I try to set the location of the opener or
attempt the redirect method of the opener. Why is it that, if 'opener'
returns a reference to a window object, intellisense does not display a

list
of 'window' object members for the 'opener' object?

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Some client side javascript similar to this should do the trick:

window.opener.document.reload(true);

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Dan M" <da************@fhmd.org> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> Is it possible to redirect or refresh the contents of Page1 from within > Page2 where Page2 was opened by Page1?
>
>
>



Nov 17 '05 #4

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

Similar topics

2
5664
by: usenet | last post by:
Hello. I have a two-framed window in which JavaScript in the right-hand frame spawns a child window, like this: function openEditWindow(id) { var url =...
1
2181
by: Steve Dower | last post by:
Is it possible to (via Javascript) refresh a parent page from a child page. I have an app that displays a list of items that the user has authority to change. If the user selects one of the items,...
1
2152
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...
2
1185
by: Konrad R. | last post by:
Hi all i have 3 popup windows, in which i can add, edit and delete records from a table, now after user is done, i want to refresh main window, i am using...
4
2294
by: Kenneth | last post by:
Hi, I have two forms, parentForm and childForm. parentForm has a button(btn1) and a grid. childForm has a couple of textboxes and a button. The button on parentForm opens a new window of...
1
3227
by: Kalyani | last post by:
Hi, I have a page with a button.On click of this button a popup window opens.Now if this window is kept open until session timeout then login page opens in the same window. Now I want that the...
2
1855
by: gsuns82 | last post by:
hi all,I want to reload the parent window from the child Window in mozilla fire fox browser,i tried these following stuffs by calling events in onunload in child Window. *...
0
2048
by: Bali | last post by:
Default.aspx is the starting page containing a control(ascx) which has asp:button control on it. On the button click event it has to open a new page as a modal control. Since refreshing a page in...
1
9384
by: Bali | last post by:
Default.aspx is the starting page containing a control(ascx) which has asp:button control on it. On the button click event it has to open a new page as a modal control. Since refreshing a page in...
0
7144
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...
0
7356
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,...
0
7427
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...
1
7085
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
7512
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...
1
5069
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4741
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
3227
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
1577
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.