Problem when refreshing Parent Window

Discussion in 'ASP .Net' started by =?Utf-8?B?bWF2cmljazEwMQ==?=, Aug 3, 2007.

  1. Hi,

    I have a page which has some custom controls. The page works fine and
    doesn't break on any number of refreshes.

    There is button on the page, that starts a new child window. After doing any
    thing or nothing, when the user clicks the 'close' button I want to refresh
    the parent window. It works a few times than the parent window goes into a
    'kind of indefinite looop'

    I'm clueless as whats going on.

    Any help!!!
     
    =?Utf-8?B?bWF2cmljazEwMQ==?=, Aug 3, 2007
    #1
    1. Advertising

  2. Hi,
    Try this code to refresh the parent window from the popup(you can include
    this code in the popup in the appropriate location ,most probably in close
    button of pop-up window)
    window.opener.location.reload()
    --
    Hope this helps.
    Thanks and Regards.
    Manish Bafna.
    MCP and MCTS.



    "mavrick101" wrote:

    > Hi,
    >
    > I have a page which has some custom controls. The page works fine and
    > doesn't break on any number of refreshes.
    >
    > There is button on the page, that starts a new child window. After doing any
    > thing or nothing, when the user clicks the 'close' button I want to refresh
    > the parent window. It works a few times than the parent window goes into a
    > 'kind of indefinite looop'
    >
    > I'm clueless as whats going on.
    >
    > Any help!!!
     
    =?Utf-8?B?TWFuaXNoIEJhZm5h?=, Aug 4, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kenneth

    Refreshing parent window

    Kenneth, Jan 4, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    36,720
    Kenneth
    Jan 5, 2004
  2. =?Utf-8?B?UGlrb2xvIE1vbmRv?=

    model dialog box keeps refreshing its parent window.

    =?Utf-8?B?UGlrb2xvIE1vbmRv?=, Jun 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,986
    Trevor Benedict R
    Jun 9, 2004
  3. =?Utf-8?B?U2lsZWVzaA==?=
    Replies:
    4
    Views:
    33,916
    =?Utf-8?B?U29sZWwgU29mdHdhcmU=?=
    Oct 14, 2004
  4. =?Utf-8?B?QXNoYQ==?=

    Refreshing a parent window from child.

    =?Utf-8?B?QXNoYQ==?=, Mar 2, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,819
    =?Utf-8?B?QXNoYQ==?=
    Mar 2, 2005
  5. =?Utf-8?B?TWlrZSBMb3dl?=

    Refreshing a Datagrid on Parent from Popup Window

    =?Utf-8?B?TWlrZSBMb3dl?=, Mar 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    391
    =?Utf-8?B?TWlrZSBMb3dl?=
    Mar 9, 2005
Loading...

Share This Page