Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh page containing datagrid

Status
Not open for further replies.

leassaf

Instructor
May 20, 2001
49
IL
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
 
Sounds to me like a caching problem. Be sure your page caching is turned off. if it isn't, it will hold the page untill you refresh it or it time out. Hope this helps! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top