neverwinter
neverwinter

Reputation: 810

how to postback parent page after modal dialog is closed

I am showing my modaldialog like that:

<script>
    function fnOpen() {
        window.showModalDialog("CopyPasteWizard.aspx", "", "dialogHeight: 500px; dialogWidth: 800px; resizable: off; scroll:off;")
    };
</script>

In my parent page I call that js function and my dialog opens. I need that when dialog closed, dialog caller parent page should be postback.

how can I do that?

Upvotes: 0

Views: 1342

Answers (1)

RKS
RKS

Reputation: 1410

In your dialog close event, try the following:-

location.reload();

Upvotes: 1

Related Questions