Aleks
2004-11-30 17:30:48 UTC
Hi,
Is it possible to redirect to another page and close the current window
using response.redirect ?
This is because I have a popup window open and after an insert I need the
window to close and refresh "Updatecasedetails.asp" passing the URL
parameter of course.
I tried this:
<%
Response.Redirect("GeneralInfo/Updatecasedetails.asp?caseId=" &
Cases.Fields.Item("Id").Value);self.close()
%>
But I get an error:
personnel)
a.. Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/blueDOTbeta/Intranet/Cases/Receipts/AddReceipt.asp, line 299, column 94
Response.Redirect("GeneralInfo/Updatecasedetails.asp?caseId=" &
Cases.Fields.Item("Id").Value);self.close()
---------------------------------------------------------------------------------------------^
Aleks
Is it possible to redirect to another page and close the current window
using response.redirect ?
This is because I have a popup window open and after an insert I need the
window to close and refresh "Updatecasedetails.asp" passing the URL
parameter of course.
I tried this:
<%
Response.Redirect("GeneralInfo/Updatecasedetails.asp?caseId=" &
Cases.Fields.Item("Id").Value);self.close()
%>
But I get an error:
personnel)
a.. Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/blueDOTbeta/Intranet/Cases/Receipts/AddReceipt.asp, line 299, column 94
Response.Redirect("GeneralInfo/Updatecasedetails.asp?caseId=" &
Cases.Fields.Item("Id").Value);self.close()
---------------------------------------------------------------------------------------------^
Aleks