popup repopulate

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
 
T

Teemu Keiski

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top