473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

updating frames...

image the following:

fs_Main
|
-------------------------
| |
frmControls frmOverview
*
\
\
setup.aspx

if i call a windows.open("setup.aspx"....) in frmControls, and then change
some stuff on the setup.aspx page which affects the frmOverview, how do i
refresh the frmOverview from the setup.aspx page?

the variables i'm using are all session so can be picked up from anywhere,
all i need to do is call reload or href on the frmOverview from setup.aspx.

I've tried:-
setup.aspx call to
"parent.parent.frmOverview.location.href='overview .aspx'" and get
"parent.parent.frmOverview.location" is not a valid object or is null
setup.aspx call to " parent.refreshOverview()" where refreshOverview()
exists in frmControls client side script as a function which calls
"parent.frmOverview.location.href=...." and get, in essence, "refreshGrid()
isn't valid on parent"

thanks.
Nov 17 '05 #1
4 1810
Hi

Access the parent window with window.opener

window.opener.parent.frmOverview.location.href = "pagetogo.aspx":
Or
window.opener.parent.frmOverview.location.reload(t rue);
Call a function
window.opener.parent.frmOverview.FUNCTION();

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Nimbus Dorkus" <sp******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
image the following:

fs_Main
|
-------------------------
| |
frmControls frmOverview
*
\
\
setup.aspx

if i call a windows.open("setup.aspx"....) in frmControls, and then change
some stuff on the setup.aspx page which affects the frmOverview, how do i
refresh the frmOverview from the setup.aspx page?

the variables i'm using are all session so can be picked up from anywhere,
all i need to do is call reload or href on the frmOverview from setup.aspx.
I've tried:-
setup.aspx call to
"parent.parent.frmOverview.location.href='overview .aspx'" and get
"parent.parent.frmOverview.location" is not a valid object or is null
setup.aspx call to " parent.refreshOverview()" where refreshOverview()
exists in frmControls client side script as a function which calls
"parent.frmOverview.location.href=...." and get, in essence, "refreshGrid() isn't valid on parent"

thanks.

Nov 17 '05 #2
Hi

Access the parent window with window.opener

window.opener.parent.frmOverview.location.href = "pagetogo.aspx":
Or
window.opener.parent.frmOverview.location.reload(t rue);
Call a function
window.opener.parent.frmOverview.FUNCTION();

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Nimbus Dorkus" <sp******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
image the following:

fs_Main
|
-------------------------
| |
frmControls frmOverview
*
\
\
setup.aspx

if i call a windows.open("setup.aspx"....) in frmControls, and then change
some stuff on the setup.aspx page which affects the frmOverview, how do i
refresh the frmOverview from the setup.aspx page?

the variables i'm using are all session so can be picked up from anywhere,
all i need to do is call reload or href on the frmOverview from setup.aspx.
I've tried:-
setup.aspx call to
"parent.parent.frmOverview.location.href='overview .aspx'" and get
"parent.parent.frmOverview.location" is not a valid object or is null
setup.aspx call to " parent.refreshOverview()" where refreshOverview()
exists in frmControls client side script as a function which calls
"parent.frmOverview.location.href=...." and get, in essence, "refreshGrid() isn't valid on parent"

thanks.

Nov 17 '05 #3
Works a treat, thanks!!!

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

Access the parent window with window.opener

window.opener.parent.frmOverview.location.href = "pagetogo.aspx":
Or
window.opener.parent.frmOverview.location.reload(t rue);
Call a function
window.opener.parent.frmOverview.FUNCTION();

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Nimbus Dorkus" <sp******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
image the following:

fs_Main
|
-------------------------
| |
frmControls frmOverview
*
\
\
setup.aspx

if i call a windows.open("setup.aspx"....) in frmControls, and then change some stuff on the setup.aspx page which affects the frmOverview, how do i refresh the frmOverview from the setup.aspx page?

the variables i'm using are all session so can be picked up from anywhere, all i need to do is call reload or href on the frmOverview from

setup.aspx.

I've tried:-
setup.aspx call to
"parent.parent.frmOverview.location.href='overview .aspx'" and get
"parent.parent.frmOverview.location" is not a valid object or is null
setup.aspx call to " parent.refreshOverview()" where refreshOverview() exists in frmControls client side script as a function which calls
"parent.frmOverview.location.href=...." and get, in essence,

"refreshGrid()
isn't valid on parent"

thanks.


Nov 17 '05 #4
Works a treat, thanks!!!

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

Access the parent window with window.opener

window.opener.parent.frmOverview.location.href = "pagetogo.aspx":
Or
window.opener.parent.frmOverview.location.reload(t rue);
Call a function
window.opener.parent.frmOverview.FUNCTION();

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Nimbus Dorkus" <sp******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
image the following:

fs_Main
|
-------------------------
| |
frmControls frmOverview
*
\
\
setup.aspx

if i call a windows.open("setup.aspx"....) in frmControls, and then change some stuff on the setup.aspx page which affects the frmOverview, how do i refresh the frmOverview from the setup.aspx page?

the variables i'm using are all session so can be picked up from anywhere, all i need to do is call reload or href on the frmOverview from

setup.aspx.

I've tried:-
setup.aspx call to
"parent.parent.frmOverview.location.href='overview .aspx'" and get
"parent.parent.frmOverview.location" is not a valid object or is null
setup.aspx call to " parent.refreshOverview()" where refreshOverview() exists in frmControls client side script as a function which calls
"parent.frmOverview.location.href=...." and get, in essence,

"refreshGrid()
isn't valid on parent"

thanks.


Nov 17 '05 #5

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

Similar topics

2
by: les | last post by:
Hello, I just wonder what are the implications to use frames to build portal. I've seen some sites that are quite fast with frames but I just wonder if there are hidden "costs". I've tried to...
40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
3
by: Jim Cobban | last post by:
I have a set of web pages that are organized in pairs. One of each pair contains a graphic and the other is an extended description of the graphic. I am trying to set it up that selecting a single...
7
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
4
by: Rob | last post by:
Hi, I have a master page that contains a table layout. The contentplaceholder is located in one of the table cells. With frames technology it was possible for hyperlinks to load the linked pages...
56
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.