Save Data in Database; reload opener window from Popup window ASP.

Discussion in 'ASP .Net' started by =?Utf-8?B?Sko=?=, Oct 12, 2004.

  1. Hi All,

    How in ASP.NET, from PopUp window:
    1) - save Data in Database;
    and after
    2)
    a) - Reload the opener window
    b) -close PopYp window.

    Note:
    for Question 2)
    I did it without problem:
    <script>window.opener.location.reload();window.close();</script>

    But the problem is I need to save data in database befor I reload the opener
    win.

    thanks

    Jawad
    =?Utf-8?B?Sko=?=, Oct 12, 2004
    #1
    1. Advertising

  2. Try using RegisterStartupScript

    EX :
    RegisterStartupScript("jScript",
    "<script>window.opener.location.reload();window.close();</script>")





    "JJ" wrote:

    > Hi All,
    >
    > How in ASP.NET, from PopUp window:
    > 1) - save Data in Database;
    > and after
    > 2)
    > a) - Reload the opener window
    > b) -close PopYp window.
    >
    > Note:
    > for Question 2)
    > I did it without problem:
    > <script>window.opener.location.reload();window.close();</script>
    >
    > But the problem is I need to save data in database befor I reload the opener
    > win.
    >
    > thanks
    >
    > Jawad
    >
    >
    >
    >
    =?Utf-8?B?dmluYXk=?=, Oct 12, 2004
    #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. Matt Jensen
    Replies:
    1
    Views:
    5,213
    Matt Jensen
    Dec 16, 2005
  2. Urs Gubler
    Replies:
    0
    Views:
    141
    Urs Gubler
    Jul 2, 2003
  3. window.opener, form.opener?

    , Jul 14, 2006, in forum: Javascript
    Replies:
    5
    Views:
    272
  4. Raffi
    Replies:
    1
    Views:
    245
    OmegaJunior
    Mar 31, 2007
  5. Bruce
    Replies:
    3
    Views:
    167
    Bruce
    Oct 6, 2008
Loading...

Share This Page