Hi all,
I am using modal window for some update purpose,
the issue i am facing is,i am not able to refresh parent after closing
modal window.
The code i used:
------------------------
For opening modal window from parent window:
For closing modal and refreshing parent the following code is used:
The above code is inconsistent in refreshing parent,if i refresh parent for more than 2 or 3 times its not showing the latest value instead it shows the value from browser cache,
i am also using the following code in parent page to avoid cache store
[HTML]<meta http-equiv="cache-control" content="text/html; charset=iso-8859-1, no-cache, no-store, must-revalidate" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
[/HTML]
can any one tell me how to over come this issue?
regards,
sundar
I am using modal window for some update purpose,
the issue i am facing is,i am not able to refresh parent after closing
modal window.
The code i used:
------------------------
For opening modal window from parent window:
Code:
showModalDialog("mypage.jsp",window,"dialogHeight:480px;dialogWidth:700px;");
Code:
window.close(); var xWin = window.dialogArguments; xWin.location.reload(true);
i am also using the following code in parent page to avoid cache store
[HTML]<meta http-equiv="cache-control" content="text/html; charset=iso-8859-1, no-cache, no-store, must-revalidate" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
[/HTML]
can any one tell me how to over come this issue?
regards,
sundar
Comment