Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / July 2003

Tip: Looking for answers? Try searching our database.

updating frames...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nimbus Dorkus - 14 Jul 2003 12:00 GMT
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.
Vidar Petursson - 14 Jul 2003 13:06 GMT
Hi

Access the parent window with window.opener

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

Signature

Best Regards
 Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================

> image the following:
>
[quoted text clipped - 25 lines]
>
> thanks.
...Dan... - 14 Jul 2003 13:29 GMT
Works a treat, thanks!!!

> Hi
>
[quoted text clipped - 37 lines]
> >
> > thanks.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.