showModalDialog

G

Guest

Hi,
I have problem with modal dialog. I have a ASPX page which I use in
showModalDialog. This page contains tag <base target=_self> because I dont'
want to show a new IE window in postback. It is OK.

For the first time, it is OK. But when I call showModalDialog for second
time, the ASPX page doesn't get OnLoad event. Modal dialog shows OK, but with
old data. Where is problem? ASPX page seem to be loaded from "cache", I don't
know.
 
M

Mark Rae

For the first time, it is OK. But when I call showModalDialog for second
time, the ASPX page doesn't get OnLoad event. Modal dialog shows OK, but
with
old data. Where is problem? ASPX page seem to be loaded from "cache", I
don't
know.

Try putting the following in the <head></head> section of your page's HTML:

<meta http-equiv="Expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
 
G

Guest

Thank you. :)

Mark Rae said:
Try putting the following in the <head></head> section of your page's HTML:

<meta http-equiv="Expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top