Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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.


    Nimbus Dorkus Guest

  2. Similar Questions and Discussions

    1. Updating Updating site map or archive dynamically
      Hi there! ;-) Posted in Site Design as well.... Anyone know if there is a way to use Contribute to automatically/dynamically update a site map...
    2. Frames Help
      I have a site with a side frame that is acting a little bit wierd, and i cant figure out why. The side frame basically calls other things, using...
    3. Updating AI Files causes position to 'bounce' when updating in Quark
      Is there any way to build Illustrator files so that no matter what edit you might come back and make to the AI file, when you update the modified...
    4. ASP/Frames
      CJM, I am contstricted by preference and usability of the system. Belive it or not it's alot easier to do what I'm doing in frames. Trust me, I...
    5. Frames--
      I have a question concerning frames and windows settings. We have 3 computers that run xp. My computer is the only one that will not show frames...
  3. #2

    Default Re: updating frames...

    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" <spanz_za@hotmail.com> wrote in message
    news:%23CIAocfSDHA.2148@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.
    >
    >

    Vidar Petursson Guest

  4. #3

    Default Re: updating frames...

    Works a treat, thanks!!!

    "Vidar Petursson" <theking@icysoft.com> wrote in message
    news:ujyrbBgSDHA.1588@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" <spanz_za@hotmail.com> wrote in message
    > news:%23CIAocfSDHA.2148@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.
    > >
    > >
    >
    >

    ...Dan... Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139