java script popup close and then postback main form

I have javascript to open a popup. when this form closes I want the calling form to postback

     function OpenChild(strImgType) {

        var WinSettings = "center:yes;resizable:no;dialogHeight:300px"
   
        var MyArgs = window.showModalDialog("../PopupForm.aspx?Product_ID=" + prodid + "&ImageType=" + strImgType, MyArgs, WinSettings)

    }
vbnetcoderAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SRigneyConnect With a Mentor Commented:
I think it's easier to do with a Dialog from jQuery UI.  Look at http://jqueryui.com/demos/dialog/
0
 
vbnetcoderAuthor Commented:
ty
0
All Courses

From novice to tech pro — start learning today.