Hello,
I've been struggling and trying to work around this for a while and
have even posted on usenet in the past without any working solutions.
I'm posting it again in case someone out there has a solution.
I'm working on a web application with an i-frame in the main
application window. Inside the i-frame are various dynamic links for
opening data entry popups. One of these popups has a couple of i-
frames itself. These i-frames also have dynamic links which execute
scripts to make changes to a server side database.
I need for the main application window to be redirected when a script
is executed in one of the i-frames of the popup data entry window
(when changes are made to the database). So far I've been able to
reload the i-frame in the main application window, but not the main
window itself.
All of the windows, i-frames and scripts are on the same domain and
server.
I would prefer not to use specific window/frame names but to use
relative properties like parent, top, frame[1] etc.
Any help would be greatly appreciated. If more detail is needed,
please let me know.
Thanks,
Raffi 3 4372
Raffi wrote:
Hello,
I've been struggling and trying to work around this for a while and
have even posted on usenet in the past without any working solutions.
I'm posting it again in case someone out there has a solution.
I'm working on a web application with an i-frame in the main
application window. Inside the i-frame are various dynamic links for
opening data entry popups. One of these popups has a couple of i-
frames itself. These i-frames also have dynamic links which execute
scripts to make changes to a server side database.
I need for the main application window to be redirected when a script
is executed in one of the i-frames of the popup data entry window
(when changes are made to the database). So far I've been able to
reload the i-frame in the main application window, but not the main
window itself.
All of the windows, i-frames and scripts are on the same domain and
server.
I would prefer not to use specific window/frame names but to use
relative properties like parent, top, frame[1] etc.
Any help would be greatly appreciated. If more detail is needed,
please let me know.
Thanks,
Raffi
Hi Raffi,
I don't know of your previous postings and (failed) experiments, but what is
the problem with constructs like:
parent.location .reload(true);
or
parent.parent.l ocation.reload( true);
or in case you need a new URL:
parent.location .href="somewher e_else.html";
Why doesn't that work in your situation?
Regards,
Erwin Moller
On Apr 7, 2:43 am, Erwin Moller
<since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
Raffiwrote:
Hello,
I've been struggling and trying to work around this for a while and
have even posted on usenet in the past without any working solutions.
I'm posting it again in case someone out there has a solution.
I'm working on a webapplicationw ith ani-framein the main
applicationwind ow. Inside thei-frameare variousdynamicl inks for
opening data entry popups. One of these popups has a couple of i-
frames itself. These i-frames also havedynamiclink s which execute
scripts to make changes to a server side database.
I need for the mainapplication window to be redirected when a script
is executed in one of the i-frames of the popup data entry window
(when changes are made to the database). So far I've been able to
reload thei-framein the mainapplication window, but not the main
window itself.
All of the windows, i-frames and scripts are on the same domain and
server.
I would prefer not to use specific window/frame names but to use
relative properties like parent, top, frame[1] etc.
Any help would be greatly appreciated. If more detail is needed,
please let me know.
Thanks,
Raffi
HiRaffi,
I don't know of your previous postings and (failed) experiments, but what is
the problem with constructs like:
parent.location .reload(true);
or
parent.parent.l ocation.reload( true);
or in case you need a new URL:
parent.location .href="somewher e_else.html";
Why doesn't that work in your situation?
Regards,
Erwin Moller- Hide quoted text -
- Show quoted text -
I have found a solution that seems to be working. Opening the window
with parent.openWin( url) where openWin(url) is the window opener
function in the script is causing parent.opener.l ocation to reference
the main application window as the opener of the popup, even though
openWin is being called from the i-frame within the main application
window.
I'm not sure how "proper" this is and whether or not it's a hack, but
it seems to be working equally well for both IE 6 and 7, and Firefox.
Hopefully this message helps others facing this issue as I had seen a
few threads with similar questions and no solution.
Raffi
Hi,
Could you send the code for your function, please? It could be very
useful for me and others. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Pete |
last post by:
I have a site which is using sessions to pass data from one page through
to the next. The problem that I have is that there are only two places
where the session could/should be destroyed. This is where a form is
printed using :
<input type="button" name="Button" value="Print Order"
onClick="window.print();">
or when the order form is reset using a JavaScript function :
|
by: Bob Phillips |
last post by:
Hope someone can help.
I am struggling to write an meta element in JS. The meta element in question
is the refresh element.
This is the code I am using
//--------------------------------------------------------------------------
----
function setMetaContent(metaTag, metaName, value) {
|
by: Michelle Keys |
last post by:
I am trying to call a print function to print a string from a database
using javascript.
Which is RC_DATA of Varchar2(2500).
This is a javascript is not being used. I have a thing that needs to be
modified:
if(e.CommandName =="Print")
{
string parsedreceipt = null;
parsedreceipt = DecodeReceipt (e.Item.Cells.Text);
Session = parsedreceipt;
|
by: Kenneth |
last post by:
Hi,
In a document I have three lines that detects and
redirects to another page is a session variable is 0
If Session("Customer_ID")=0 Then
Response.Redirect("myPage.aspx")
End If
What I really would like to have is a notification for the
|
by: SHarris |
last post by:
Hello,
In our new intranet ASP.NET project, two requirements are that the browser
accept cookies AND JavaScript. We are requiring the use of Internet
Explorer 6+.
1. Using C# in an ASP.NET application, how can we code the project to check
to make sure the browser accepts cookies?
2. Where would we put this code? In Global.asax?
3. Using C# in an ASP.NET application, how can we code the project to
detect and make sure the browser...
| |
by: Shapper |
last post by:
Hello,
I am working on an ASP.NET/VB web site.
I have several links including menu links.
Considerer a want to load a page named page.aspx.
I can do it using javascript. Or using this code:
Sub loadPage(sender As Object, e As System.EventArgs, pageURL as
String)
|
by: TJ |
last post by:
Hi,
I would like to ask something to user after user submits the form...
I know I can ask user whehter they want to submit the form or not using
client-script code such as onClick or onSubmit by adding into attributes
collections...
My problem is a little bit different than that...
I would like to ask user something after submission is done
|
by: SteveSu |
last post by:
Hi!
I want to make a postback when the user hits the escape-button on the
keyboard and redirect the user to another page. But the
response.redirect does not work for me in this "context".
I´m trying to do like this:
<body onkeydown="MyRedirect()">
|
by: Taras_96 |
last post by:
Hi everyone,
We' ve come to the conclusion that we wish the user to be directed to
an error page if javascript is disabled <enter comment about how a
webpage shouldn't rely on javascript here :) >. I've read quite a few
posts on how to do this, but none meet my need (the two main
suggestions was set a jsEnabled variable in a <scriptsection of the
HTML and read it in PHP, and the other suggestion was by default
loading the non js page,...
|
by: rkagrawal |
last post by:
I am not sure if this is the right forum to post about this problem , but , i just want to discuss a problem i recently encountered.
I was developing a page in ASP , where i came across a problem.
The last few lines of code were like this :
'------ Popup page
response.write("<script language=javascript>alert('Hello')</script>")
response.write("<script...
|
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |