showModalDialog then refresh problem
I have an asp.net page that is using the showModalDialog to alow the user to edit data from that page. If the user changes and saves the data in a dialog I want to refresh the parent window to reflect the changes made. All works well except for the darn:
"Page cannot be refreshed without resending the information"
message I get when the dialog closes and I attempt to refresh the parent.
Here is my code...
var str = window.showModalDialog(url, parms, options);
The child window has a some script that is run when the "Save" button is pressed which tells the parent refresh:
I have seen this work before without getting that message but I must be missing a setting some place. Does anyone have any idea how to prevent the ""Page cannot be refreshed..." message?