Hi all!
Sorry for the 2 posts. Forgot the subject in the previous one.
I have a page on which there’s a datagrid. One of the columns is a template column whose ItemTemplate is an “Image” control. Users can click a row which redirects them to another page in which they can upload an image. Once they click an “Update” button, they are redirected back to the original page.
The thing is that once the original page loads, the “Image” control displays the old image. However, if the user refreshes the page (F5) in the browser, the new image is displayed.
Is there a way of refreshing the page programmatically? The closest solution I’ve found so far is using a Meta tag (META HTTP-EQUIV=”Refresh”). But, this Meta requires a delay, which would cause the page to refresh every n seconds.
Any ideas?
Assaf
Sorry for the 2 posts. Forgot the subject in the previous one.
I have a page on which there’s a datagrid. One of the columns is a template column whose ItemTemplate is an “Image” control. Users can click a row which redirects them to another page in which they can upload an image. Once they click an “Update” button, they are redirected back to the original page.
The thing is that once the original page loads, the “Image” control displays the old image. However, if the user refreshes the page (F5) in the browser, the new image is displayed.
Is there a way of refreshing the page programmatically? The closest solution I’ve found so far is using a Meta tag (META HTTP-EQUIV=”Refresh”). But, this Meta requires a delay, which would cause the page to refresh every n seconds.
Any ideas?
Assaf