popup repopulate

Discussion in 'ASP .Net' started by luna_s, Mar 6, 2004.

  1. luna_s

    luna_s Guest

    i have a popup box in a form
    a user can enter data in this popup box and hit save -
    how can i refresh the main page with the new data ?
    popup is javascript - the datas saved to a database
    the main form connects to the same database - i can get it to appear once i
    search again on the same id number

    thanks
    mark
     
    luna_s, Mar 6, 2004
    #1
    1. Advertising

  2. luna_s

    Teemu Keiski Guest

    Hi,

    in popup window you can access the main page client script via opener
    property. For example:

    opener.someMethod();

    This way you could put some client method at main page (that say posts in
    behalf of existing control) which you call from the popup.

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist


    "luna_s" <> wrote in message
    news:Iam2c.4983$...
    i have a popup box in a form
    a user can enter data in this popup box and hit save -
    how can i refresh the main page with the new data ?
    popup is javascript - the datas saved to a database
    the main form connects to the same database - i can get it to appear once i
    search again on the same id number

    thanks
    mark
     
    Teemu Keiski, Mar 6, 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. TaeHo Yoo
    Replies:
    4
    Views:
    755
  2. JN

    Repopulate TreeView

    JN, Jan 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,150
  3. =?Utf-8?B?Y2luZHk=?=
    Replies:
    0
    Views:
    521
    =?Utf-8?B?Y2luZHk=?=
    Sep 21, 2006
  4. TS

    explanation of when need to repopulate control

    TS, Aug 2, 2005, in forum: ASP .Net Building Controls
    Replies:
    28
    Views:
    598
    Steven Cheng[MSFT]
    Aug 24, 2005
  5. Jens Peter Hansen
    Replies:
    7
    Views:
    593
    Randy Webb
    Jun 19, 2004
Loading...

Share This Page