updating frames...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nimbus Dorkus

    #1

    updating frames...

    image the following:

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



    if i call a windows.open("s etup.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.loc ation.href='ove rview.aspx'" and get
    "parent.parent. frmOverview.loc ation" is not a valid object or is null
    setup.aspx call to " parent.refreshO verview()" where refreshOverview ()
    exists in frmControls client side script as a function which calls
    "parent.frmOver view.location.h ref=...." and get, in essence, "refreshGri d()
    isn't valid on parent"

    thanks.


  • Vidar Petursson

    #2
    Re: updating frames...

    Hi

    Access the parent window with window.opener

    window.opener.p arent.frmOvervi ew.location.hre f = "pagetogo.aspx" :
    Or
    window.opener.p arent.frmOvervi ew.location.rel oad(true);
    Call a function
    window.opener.p arent.frmOvervi ew.FUNCTION();

    --
    Best Regards
    Vidar Petursson
    =============== ===============
    Microsoft Internet Client & Controls MVP
    =============== ===============
    "Nimbus Dorkus" <spanz_za@hotma il.com> wrote in message
    news:%23CIAocfS DHA.2148@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > image the following:
    >
    > fs_Main
    > |
    > -------------------------
    > | |
    > frmControls frmOverview
    > *
    > \
    > \
    > setup.aspx
    >
    >
    >
    > if i call a windows.open("s etup.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[/color]
    setup.aspx.[color=blue]
    >
    > I've tried:-
    > setup.aspx call to
    > "parent.parent. frmOverview.loc ation.href='ove rview.aspx'" and get
    > "parent.parent. frmOverview.loc ation" is not a valid object or is null
    > setup.aspx call to " parent.refreshO verview()" where refreshOverview ()
    > exists in frmControls client side script as a function which calls
    > "parent.frmOver view.location.h ref=...." and get, in essence,[/color]
    "refreshGri d()[color=blue]
    > isn't valid on parent"
    >
    > thanks.
    >
    >[/color]


    Comment

    • Vidar Petursson

      #3
      Re: updating frames...

      Hi

      Access the parent window with window.opener

      window.opener.p arent.frmOvervi ew.location.hre f = "pagetogo.aspx" :
      Or
      window.opener.p arent.frmOvervi ew.location.rel oad(true);
      Call a function
      window.opener.p arent.frmOvervi ew.FUNCTION();

      --
      Best Regards
      Vidar Petursson
      =============== ===============
      Microsoft Internet Client & Controls MVP
      =============== ===============
      "Nimbus Dorkus" <spanz_za@hotma il.com> wrote in message
      news:%23CIAocfS DHA.2148@TK2MSF TNGP11.phx.gbl. ..[color=blue]
      > image the following:
      >
      > fs_Main
      > |
      > -------------------------
      > | |
      > frmControls frmOverview
      > *
      > \
      > \
      > setup.aspx
      >
      >
      >
      > if i call a windows.open("s etup.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[/color]
      setup.aspx.[color=blue]
      >
      > I've tried:-
      > setup.aspx call to
      > "parent.parent. frmOverview.loc ation.href='ove rview.aspx'" and get
      > "parent.parent. frmOverview.loc ation" is not a valid object or is null
      > setup.aspx call to " parent.refreshO verview()" where refreshOverview ()
      > exists in frmControls client side script as a function which calls
      > "parent.frmOver view.location.h ref=...." and get, in essence,[/color]
      "refreshGri d()[color=blue]
      > isn't valid on parent"
      >
      > thanks.
      >
      >[/color]


      Comment

      • ...Dan...

        #4
        Re: updating frames...

        Works a treat, thanks!!!

        "Vidar Petursson" <theking@icysof t.com> wrote in message
        news:ujyrbBgSDH A.1588@TK2MSFTN GP11.phx.gbl...[color=blue]
        > Hi
        >
        > Access the parent window with window.opener
        >
        > window.opener.p arent.frmOvervi ew.location.hre f = "pagetogo.aspx" :
        > Or
        > window.opener.p arent.frmOvervi ew.location.rel oad(true);
        > Call a function
        > window.opener.p arent.frmOvervi ew.FUNCTION();
        >
        > --
        > Best Regards
        > Vidar Petursson
        > =============== ===============
        > Microsoft Internet Client & Controls MVP
        > =============== ===============
        > "Nimbus Dorkus" <spanz_za@hotma il.com> wrote in message
        > news:%23CIAocfS DHA.2148@TK2MSF TNGP11.phx.gbl. ..[color=green]
        > > image the following:
        > >
        > > fs_Main
        > > |
        > > -------------------------
        > > | |
        > > frmControls frmOverview
        > > *
        > > \
        > > \
        > > setup.aspx
        > >
        > >
        > >
        > > if i call a windows.open("s etup.aspx"....) in frmControls, and then[/color][/color]
        change[color=blue][color=green]
        > > some stuff on the setup.aspx page which affects the frmOverview, how do[/color][/color]
        i[color=blue][color=green]
        > > refresh the frmOverview from the setup.aspx page?
        > >
        > > the variables i'm using are all session so can be picked up from[/color][/color]
        anywhere,[color=blue][color=green]
        > > all i need to do is call reload or href on the frmOverview from[/color]
        > setup.aspx.[color=green]
        > >
        > > I've tried:-
        > > setup.aspx call to
        > > "parent.parent. frmOverview.loc ation.href='ove rview.aspx'" and get
        > > "parent.parent. frmOverview.loc ation" is not a valid object or is null
        > > setup.aspx call to " parent.refreshO verview()" where[/color][/color]
        refreshOverview ()[color=blue][color=green]
        > > exists in frmControls client side script as a function which calls
        > > "parent.frmOver view.location.h ref=...." and get, in essence,[/color]
        > "refreshGri d()[color=green]
        > > isn't valid on parent"
        > >
        > > thanks.
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • ...Dan...

          #5
          Re: updating frames...

          Works a treat, thanks!!!

          "Vidar Petursson" <theking@icysof t.com> wrote in message
          news:ujyrbBgSDH A.1588@TK2MSFTN GP11.phx.gbl...[color=blue]
          > Hi
          >
          > Access the parent window with window.opener
          >
          > window.opener.p arent.frmOvervi ew.location.hre f = "pagetogo.aspx" :
          > Or
          > window.opener.p arent.frmOvervi ew.location.rel oad(true);
          > Call a function
          > window.opener.p arent.frmOvervi ew.FUNCTION();
          >
          > --
          > Best Regards
          > Vidar Petursson
          > =============== ===============
          > Microsoft Internet Client & Controls MVP
          > =============== ===============
          > "Nimbus Dorkus" <spanz_za@hotma il.com> wrote in message
          > news:%23CIAocfS DHA.2148@TK2MSF TNGP11.phx.gbl. ..[color=green]
          > > image the following:
          > >
          > > fs_Main
          > > |
          > > -------------------------
          > > | |
          > > frmControls frmOverview
          > > *
          > > \
          > > \
          > > setup.aspx
          > >
          > >
          > >
          > > if i call a windows.open("s etup.aspx"....) in frmControls, and then[/color][/color]
          change[color=blue][color=green]
          > > some stuff on the setup.aspx page which affects the frmOverview, how do[/color][/color]
          i[color=blue][color=green]
          > > refresh the frmOverview from the setup.aspx page?
          > >
          > > the variables i'm using are all session so can be picked up from[/color][/color]
          anywhere,[color=blue][color=green]
          > > all i need to do is call reload or href on the frmOverview from[/color]
          > setup.aspx.[color=green]
          > >
          > > I've tried:-
          > > setup.aspx call to
          > > "parent.parent. frmOverview.loc ation.href='ove rview.aspx'" and get
          > > "parent.parent. frmOverview.loc ation" is not a valid object or is null
          > > setup.aspx call to " parent.refreshO verview()" where[/color][/color]
          refreshOverview ()[color=blue][color=green]
          > > exists in frmControls client side script as a function which calls
          > > "parent.frmOver view.location.h ref=...." and get, in essence,[/color]
          > "refreshGri d()[color=green]
          > > isn't valid on parent"
          > >
          > > thanks.
          > >
          > >[/color]
          >
          >[/color]


          Comment

          Working...