473,791 Members | 2,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript location.reload causes "retry / cancel" popup

Hi peeps

I'm developing an intranet application which uses a main window and various
popups created with javascript ( window.open() ).

When the user saves what they are doing in the popup, i use
opener.location .reload() to refresh the parent window. Most of the time this
works fine, but one parent in particular always asks if we want to refresh
the window (re post the form data), and I get that "retry / cancel" dialog
box.

I'd really like to get rid of this, but im not sure if I can, or what
settings to change? Is it possible? Or is there another way to refresh the
parent that doesnt cause this reposting dialog to appear?

Client doesn't want the message.. help!!

Cheers
Dan
Nov 19 '05 #1
3 5220
How about submitting the form instead of reloading it?
window.opener.d ocument.forms["myForm"].submit()

Shawn

"dhnriversi de" <da*@musoswire. com> wrote in message
news:D4******** *************** ***********@mic rosoft.com...
Hi peeps

I'm developing an intranet application which uses a main window and various popups created with javascript ( window.open() ).

When the user saves what they are doing in the popup, i use
opener.location .reload() to refresh the parent window. Most of the time this works fine, but one parent in particular always asks if we want to refresh
the window (re post the form data), and I get that "retry / cancel" dialog
box.

I'd really like to get rid of this, but im not sure if I can, or what
settings to change? Is it possible? Or is there another way to refresh the
parent that doesnt cause this reposting dialog to appear?

Client doesn't want the message.. help!!

Cheers
Dan

Nov 19 '05 #2
Thanks Shawn - I'll try that!

"Shawn" wrote:
How about submitting the form instead of reloading it?
window.opener.d ocument.forms["myForm"].submit()

Shawn

"dhnriversi de" <da*@musoswire. com> wrote in message
news:D4******** *************** ***********@mic rosoft.com...
Hi peeps

I'm developing an intranet application which uses a main window and

various
popups created with javascript ( window.open() ).

When the user saves what they are doing in the popup, i use
opener.location .reload() to refresh the parent window. Most of the time

this
works fine, but one parent in particular always asks if we want to refresh
the window (re post the form data), and I get that "retry / cancel" dialog
box.

I'd really like to get rid of this, but im not sure if I can, or what
settings to change? Is it possible? Or is there another way to refresh the
parent that doesnt cause this reposting dialog to appear?

Client doesn't want the message.. help!!

Cheers
Dan


Nov 19 '05 #3
Hi Shawn

That worked, spot on. Thanks mate.
Dan
"Shawn" wrote:
How about submitting the form instead of reloading it?
window.opener.d ocument.forms["myForm"].submit()

Shawn

"dhnriversi de" <da*@musoswire. com> wrote in message
news:D4******** *************** ***********@mic rosoft.com...
Hi peeps

I'm developing an intranet application which uses a main window and

various
popups created with javascript ( window.open() ).

When the user saves what they are doing in the popup, i use
opener.location .reload() to refresh the parent window. Most of the time

this
works fine, but one parent in particular always asks if we want to refresh
the window (re post the form data), and I get that "retry / cancel" dialog
box.

I'd really like to get rid of this, but im not sure if I can, or what
settings to change? Is it possible? Or is there another way to refresh the
parent that doesnt cause this reposting dialog to appear?

Client doesn't want the message.. help!!

Cheers
Dan


Nov 19 '05 #4

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

Similar topics

2
2972
by: Hernán Castelo | last post by:
hi i'm doing a reload() in JS in the production site i get the message "send again information...... : retry / cancel" but in development site works fine what differencia could be between the configuration of both IIS that allow these refresh or reload() ?
1
4975
by: Appu | last post by:
How to Check in the window print dialog box whether we clicked either "print" or "cancel". while clicking a button i call wnidow.print() to pop up the windows PRint Dialog box. I want to check whether the user clicked either "print" or "cancel" in that print dialog box of windows. Please Help soon. Thanks T.Appasamy
1
2565
by: shaizaban | last post by:
hello, my question is as follows (very urgent): i generated in an aspx page a modalpopup ajax control. i inserted a user control into the panel contained in the popup control. the panel contains "ok" and "cancel", with no connectio to the user control. how can i cause the popup stay visible after "ok"? any button i press causes the popup to disappear!!! is there a way for it???
0
326
by: shaizaban | last post by:
hello, my question is as follows (very urgent): i generated in an aspx page a modalpopup ajax control. i inserted a user control into the panel contained in the popup control. the panel contains "ok" and "cancel", with no connectio to the user control. how can i cause the popup stay visible after "ok"? any button i press causes the popup to disappear!!! is there a way for it???
0
9515
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,...
0
10207
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9029
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, 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...
1
7537
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 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...
0
6776
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();...
0
5430
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
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
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.