popup repopulate

  • Thread starter Thread starter luna_s
  • Start date Start date
L

luna_s

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


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
 
Back
Top