473,498 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Refreshing page after closing popup?

VMI
My aspx (source.aspx) has a hyperlink that opens a popup page:
HyperLink_anadirNota.NavigateUrl = "javascript:CreateWnd('followup.aspx?id="
+txtNum + "',850,410,true)";

Now I want source.aspx to refresh automatically after I close followup.aspx.
How can I do this?

Thanks.

May 25 '06 #1
2 1236
create a function in javascript to close followup.aspx. insert the
following code into the close function:

function closeme()
{
self.close();
parent.opener.location.href = parent.opener.location.href;
}

that should work.

May 25 '06 #2
scratch that actually. use this instead:

function closeme()
{
self.close();
parent.opener.document.forms[0].submit();
}

this way it will register as a post back on source.aspx

May 25 '06 #3

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

Similar topics

3
10371
by: Alex Shi | last post by:
Hello, I need an Exit popup page that when a visitor is on leaving my site it will popup. With "onUnLoad" it can work in this way but it also does something more that I don't want. When a...
1
1100
by: mark.wolfenden | last post by:
Hi I have one page which opens a pop-up window. When a button is clicked on the pop-up window I want it to close and refresh the page that opened it in the first place. Is this possible? I have...
1
1233
by: David Lee | last post by:
I have a website which has one main window. When a user clicks an option on this window, a pop window appear. Then user can then enter information on this window and then they can click Ok. On...
4
7031
by: deko | last post by:
I can't move a multi-page report to the last record unless I keep the popup form (that defined it's subreports) open. DoCmd.OpenReport "rptStandard", acViewNormal DoCmd.Close acForm,...
0
1081
by: Mike Lowe | last post by:
Having terrible trouble with this. I am using the IBuySpy Portal solution. I have a web control that has a datagrid bound to dataset that is stored in session state. Upon clicking the edit...
1
2011
by: Jennyfer J Barco | last post by:
Hello I have a datagrid and a linkbuttom in the datagrid that says Picture, every time I click on the link "Picture" my program opens a popup window showing a picture of the item the selected and...
15
10051
by: H00ner | last post by:
Hello All Hope you can help Been pulling my hair out about a popup problem in ASP.NET. One of the forms i wrote requires the user to select a product from a list in a popup web form. the...
1
899
by: KatMagic | last post by:
I have a popup window that refreshes every so often with new data, using <meta http-equiv="refresh" content="150"> However, when the user closes teh popup, it continues to do a refresh, as I...
4
4355
by: Ria12 | last post by:
hi... I have grid in my Parent page on clik of gridview Edit column it open a Popup window fill all records for updation.But I have problem when user update a record popup window is not...
0
7125
marktang
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,...
0
7004
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
7208
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...
0
7379
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...
0
5464
agi2029
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,...
1
4915
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
4593
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
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1423
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.