Refresh ModalDialog window
Posted on 2004-08-12
Hello, I am using a ShowModalDialog command to open a popup window. This window is populated with data from a table, using SQL queries. However, recently I have decided to add buttons which can add or delete records shown in the window from the database.
While I can add or delete said records, I run into a problem: Changes made to the underlying table are not reflected in the window. To solve this, the simplest solution is to just reload the window (as if it were just opened again, as there are no other possible changes to enact except for those to the underlying table). However, a window.location.reload statement does not seem to work.
How does one reload or refresh a Modal Dialog box?