Is it possible to redirect or refresh the contents of Page1 from within
Page2 where Page2 was opened by Page1? 3 6339
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.ne t> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Some client side javascript similar to this should do the trick:
window.opener.d ocument.reload( true);
-- I hope this helps, Steve C. Orr, MCSD http://Steve.Orr.net
"Dan M" <da************ @fhmd.org> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Is it possible to redirect or refresh the contents of Page1 from within Page2 where Page2 was opened by Page1?
Hi
window.opener.l ocation.reload( true);
--
Best Regards
Vidar Petursson
=============== ===============
Microsoft Internet Client & Controls MVP
=============== ===============
"Dan M" <da************ @fhmd.org> wrote in message
news:eP******** *****@TK2MSFTNG P10.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.ne t> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Some client side javascript similar to this should do the trick:
window.opener.d ocument.reload( true);
-- I hope this helps, Steve C. Orr, MCSD http://Steve.Orr.net
"Dan M" <da************ @fhmd.org> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Is it possible to redirect or refresh the contents of Page1 from
within Page2 where Page2 was opened by Page1?
That's what I needed. Thank you very much.
"Vidar Petursson" <th*****@icysof t.com> wrote in message
news:eS******** ******@tk2msftn gp13.phx.gbl... Hi
window.opener.l ocation.reload( true);
-- Best Regards Vidar Petursson =============== =============== Microsoft Internet Client & Controls MVP =============== =============== "Dan M" <da************ @fhmd.org> wrote in message news:eP******** *****@TK2MSFTNG P10.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.ne t> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Some client side javascript similar to this should do the trick:
window.opener.d ocument.reload( true);
-- I hope this helps, Steve C. Orr, MCSD http://Steve.Orr.net
"Dan M" <da************ @fhmd.org> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. > Is it possible to redirect or refresh the contents of Page1 from within > Page2 where Page2 was opened by Page1? > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 = "http://db2/acct/presentation/editCurrency.php?rowToEdit=" + id;
|
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, another window is opened
containing the details of the item. If the user changes any of the details
of the item I'd like to refresh the original (list) page.
Thanks in advance.
Steve
|
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 enables
comments to be made about certain images on the page. The pop-up makes
a connection to a MySQL database and the existing comments are put
into a PHP array and echoed to the screen.
|
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
window.opener.form1.btnRefresh.click(), and have handler
in codebehind which refreshes dataset, this works. One and
only problem is that this button is visible, and i dont
want user to see this button
|
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 childForm:
btn1.Attributes("onclick")="javascript window.open(...."
| |
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 popup window should be closed on session timeout
and login page should be opened in its parent window.How can I do that?
Please do tell me if any one knows.
Thanks in advance,
|
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.
* window.opener.document.forms.submit();window.close();
*window.opener.location=window.opener.location;
*window.opener.location="http://localhost:8080/sansar/contactHome.htm";
* window.opener.document.location.reload(true);
|
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 a dialog box
ended up opening up a new browser window with the aspx page, I read
on
a forum that I should use the iframe control and since I have to open
a bunch of pages as diaogboxes, I created a general
page(Container.aspx) which has an...
|
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 a dialog box
ended up opening up a new browser window with the aspx page, I read
on
a forum that I should use the iframe control and since I have to open
a bunch of pages as diaogboxes, I created a general
page(Container.aspx) which has an...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |