Ok. I have a page with a gridview control which is used to display a list
of records in a database table(s). If the user wants to add a new record,
they click "new" and a popup window displays. The popup window accepts data
from the user (name, number, date, etc) and is then submitted back to the
server when the users clicks an ok button. At this point I want to update
the database with the new record, close the popup window, and then refresh
the parent page so that it reflects the newly added record that was created
using the popup window.
"Winista" <na*********@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP11.phx.gbl...
I was just giving an example of calling routine. You can access any JS
variables (control instances etc.)on parent page from child window. You
will have to do it via JS.
What exactly you are trying to do then I may be able to give you more
specific answer about refreshing UI on parent page.
--
Netomatix
http://www.netomatix.com
"Ben Schumacher" <bs*********@navegate.com> wrote in message
news:u5**************@TK2MSFTNGP11.phx.gbl...I don't want to call call a routine on the parent page. I want to handle
everything in the modaldialogwindow popup window.
"Winista" <na*********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl... You can always use java script to refresh the parent page...
window.opener.callMyRefreshFunction();
--
Netomatix
http://www.netomatix.com
"Ben Schumacher" <bs*********@navegate.com> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
How can I refresh the parent page from a popup window that was created
using window.showmodaldialog? I would like to accomplish this using
vbscript if possible.