H
Henry Johnson
I'm currently opening an aspx page (myModalASPX) as a dialog box from
client-side script using window.showModalDialog(blah blah blah).
The dialog opens as expected. Now I'm adding functionality to the dialog
box/aspx page that causes a postback. What currently happens is that after
the postback, myModalASPX page is rendered back to the client in a new
browser window - which gives me *two instances* of myModalASPX in the
client - one being in the original modal window and another that's in a
separate browser window. Not good.
What does it take to show an aspx page as a modal dialog box *and* enable it
to post back to the server - which subsequently renders the updated version
back to the original modal dialog box (and not to a new window)?
Thanks!
client-side script using window.showModalDialog(blah blah blah).
The dialog opens as expected. Now I'm adding functionality to the dialog
box/aspx page that causes a postback. What currently happens is that after
the postback, myModalASPX page is rendered back to the client in a new
browser window - which gives me *two instances* of myModalASPX in the
client - one being in the original modal window and another that's in a
separate browser window. Not good.
What does it take to show an aspx page as a modal dialog box *and* enable it
to post back to the server - which subsequently renders the updated version
back to the original modal dialog box (and not to a new window)?
Thanks!