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

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top