I would like to know how to refresh a Opened showModalDialog window.
I used …
foo = window.showModalDialog('FULL_path_to_script.php', window);
… but what I get is a New showModalDialog opening, but NOT into the same window, namely, what I get is the effect of a HTML “_blank” opening a new showModalDialog.
I used window.location.reload(true) with the same result
Any help is welcome. Thank you very much in advance.
Best way to deal with Modal Dialogs is to load a page with an iframe and then load the original content. That way you to use the modal dialog as a normal window, refresh etc.
Thank you for your advise.
Anyway I solved this issue using AJAX and loading a PHP script into the Modal Dialog.
i done this.but this is indirect.
Add one server control with onclick event like
<asp:LinkButton Runat=“Server” id=“lnkRefreshShowModalDialog” OnClick=“RefreshShowModalDialog”/>
public void RefreshShowModalDialog(object o,EventArgs e)
if u know some other step. let me.