popup dialog question

sdlangers

Centurion
Joined
Dec 3, 2002
Messages
118
hi,

i have asp.net code on a button that pops up a dialog page.. like this..


Dim strScript As String = "<script language = javascript>window.open('popupConfirm.aspx','','width=500,height=125,top=300');</script>"

RegisterStartupScript("anything", strScript)

so when the button is clicked, the popupConfirm.aspx page is loaded.

what i want to do is have a button on that popup page, that when its clicked, the dialog page is closed AND parent page (i.e. the 1st calling page) is redirected to another page

how do you do this?

thanks!
 
Yes, Joe Mamma, but the point is the window.showModalDialog() method is only defined by Internet Explorer. Regardless, one can achieve the same thing using window.Open().
 
Derek Stone said:
Yes, Joe Mamma, but the point is the window.showModalDialog() method is only defined by Internet Explorer. Regardless, one can achieve the same thing using window.Open().
no, I am saying in the window spawned by window.open() dont you have an opener object available to you?? cant you do opener.navigateTo in netscape, too???
 
Back
Top