Save Data in Database; reload opener window from Popup window ASP.

G

Guest

Hi All,

How in ASP.NET, from PopUp window:
1) - save Data in Database;
and after
2)
a) - Reload the opener window
b) -close PopYp window.

Note:
for Question 2)
I did it without problem:
<script>window.opener.location.reload();window.close();</script>

But the problem is I need to save data in database befor I reload the opener
win.

thanks

Jawad
 
G

Guest

Try using RegisterStartupScript

EX :
RegisterStartupScript("jScript",
"<script>window.opener.location.reload();window.close();</script>")
 

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

Top