To display the latest data, you must set it on the page to cancel the cache.
Add the following code to the Head label of the showModalDialog page:
<Meta http-equiv = "pragma" content = "no-cache">
In this way, the page will not be cached. This ensures that the latest data is displayed after the page is opened again after the data is modified.
HTML
<Meta http-equiv = "pragram" content = "no-cache">
Disable the browser from accessing the page from the local cache.
The webpage is not saved in the cache, and the page is refreshed every time the webpage is accessed.
<Meta http-equiv = "cache-control" content = "no-cache, must-revalidate">
Similar to above, page must be reloaded
<Meta http-equiv = "expires" content = "0">
The expiration time of a webpage in the cache is 0. Once the webpage expires, you must subscribe to it from the server.
. NET
Response. Expires =-1;