javascript showModalDialog

Hi,

I am in showModalDialog popup and want to reload the showModalDialog  and pass
the following parameter like this.  below code it open a new showModalDialog  but that's
not what I want I want to refresh the one that I have open.

           window.showModalDialog("../EmailUpdate/UpdatePromptEmail.asp?Save=Y&Search=Y&GetInternalID=" + Internalid,"","dialogHeight:300px")
           


lulu50Asked:
Who is Participating?
 
savethetigerConnect With a Mentor Commented:

Also in the post but works  well.


You can set to self the  base target in the modal windows the same window.

<base target="_self" />


These are really solution to two different problem.
1) Open and reuse always the same window.
2)Redirect postback to the base window.
0
 
savethetigerCommented:

The important thing is that you set the same windows name for both the "modal" windows.
you can find a solution here:
http://www.velocityreviews.com/forums/t68564-showmodaldialog-postback-solution.html
0
 
savethetigerCommented:
on point 2 i did mean to the modal window
0
 
lulu50Author Commented:
not fully answered
0
All Courses

From novice to tech pro — start learning today.