Hi guys
I have a child page (POPUP) say CHILD.aspx this same page could be called from two parent pages say PARENT1.ASPX and PARENT2.ASPX what i need to achieve is on CHILD.ASPX i want to go back to the parent page from where this POPUP is called
Regards
Nouman
The following code is working for me on CHILD.ASPX but u can see PARENT1.aspx is hard-coded where i want to user URL of the page from where this CHILD popup is called
Dim sScript As String = ""
sScript += "<script language=javascript>"
sScript += "opener.location.href=PARENT1.aspx';"
sScript += "window.close();"
sScript += "</script>"
Response.Write(sScript)
Nouman Zaheer
Software Engineer
MSR
I have a child page (POPUP) say CHILD.aspx this same page could be called from two parent pages say PARENT1.ASPX and PARENT2.ASPX what i need to achieve is on CHILD.ASPX i want to go back to the parent page from where this POPUP is called
Regards
Nouman
The following code is working for me on CHILD.ASPX but u can see PARENT1.aspx is hard-coded where i want to user URL of the page from where this CHILD popup is called
Dim sScript As String = ""
sScript += "<script language=javascript>"
sScript += "opener.location.href=PARENT1.aspx';"
sScript += "window.close();"
sScript += "</script>"
Response.Write(sScript)
Nouman Zaheer
Software Engineer
MSR