yusufkhatri
asked on
window.showModalDialog does not refresh
Hi,
I am developing a front end for an SQL Server database using ASP. The interface is menu driven. My problem is that I use window.showModalDialog to display the results of a query. However, AFTER viewing the results, if I add more records to the database using the ASP front-end, and query again, I don't see that record being added.
However that record is being added to the database. If I quit the browser and reload the page, the results are shown correctly. If I add any records, before doing a query, those records are shown.
I am certain that this is a problem of window.showModalDialog acting up! Any ideas on how I can force refresh of the modal dialog everytime it loads?
Many Thanx!
Yusuf
I am developing a front end for an SQL Server database using ASP. The interface is menu driven. My problem is that I use window.showModalDialog to display the results of a query. However, AFTER viewing the results, if I add more records to the database using the ASP front-end, and query again, I don't see that record being added.
However that record is being added to the database. If I quit the browser and reload the page, the results are shown correctly. If I add any records, before doing a query, those records are shown.
I am certain that this is a problem of window.showModalDialog acting up! Any ideas on how I can force refresh of the modal dialog everytime it loads?
Many Thanx!
Yusuf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx a lot for your answer. I used a variation of ur suggestion and it worked. Instead of using frames, I used iframe instead, since my target browser shall always be IE.
However, I still dont understand why that happens? Do you have an explanation for that as well?
Many Thanx!
yusufkhatri