Forums

ASP

This topic is locked

Refresh Main Page

Posted 13 Sep 2002 14:49:39
1
has voted
13 Sep 2002 14:49:39 Vince Baker posted:
I have a pop up window that is opened from the main window.

I want to add a record in the pop up window but there is a recordset on the main window that I want to be updated.

I need to be able to refresh the main page automatically when I click on a link or close the pop up window.

Any help?

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting

Replies

Replied 14 Sep 2002 00:15:02
14 Sep 2002 00:15:02 Talal Nabil replied:
Hi again Vince,

I did have the same problem and one of the experts here solve it as follow:

Cant you just place includes in the files needed?

And have a sub in there like

Sub RefreshMe
Response.Redirect(Server.URLEncode(Request.ServerVariables("SCRIPT_NAME"))
End Sub

And then in the page when you want to perform the refresh just type:

<% Call RefreshMe %>

Totti <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
Replied 16 Sep 2002 14:05:06
16 Sep 2002 14:05:06 Vince Baker replied:
Not quite sure I understand, can you try to explain that again...

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting

Reply to this topic