Use window.opener on the popup window to access the parent
window. So call window.opener.MyFunction() to call a
javascript function in the parent.
In the function, you can cause a refresh in many ways,
from:
1) using javascript to redirect back to the page again,
but this will not preserve viewstate, right?
2) so you can also accomplish the same thing by calling a
postback:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/cpguide/html/cpcongeneratingclient-
sidejavascriptforpostback.asp
Also take a look at this. Basically a tutorial for what
you are trying to do:
http://www.dotnetjunkies.com/Tutoria...C01-4E9C-48E3-
B88C-F6D223A8EB9E.dcik
Jon Paugh
-----Original Message-----
I have a usercontrol that contains a datagrid. This grid
lists information from my database. No big deal...this
works fine, and when the user selects an item I have a
popup window appear with the data that the user can
edit. Now when they click submit on the popup window to
save their changes, can I get the datagrid in the
usercontrol on the parent page to reload. I have been
trying to do this for about a year not and I have never
had any luck. If anyone could help me do this I would
greatly appreciate it.
.