IE7: Changes via Ajax Callback only shown after manual Reload

2 posts, 0 answers
  1. Philip
    Philip avatar
    40 posts
    Member since:
    Jan 2008

    Posted 12 Mar 2008 Link to this post

    Hello!

    Currently I'm testing the new Prometheus Controls and I'm almost done: Great Controls! But now I noticed a strange behavior:

    A RadGrid (for example) in a RadPane (inside of a RadSplitter) is updated via RadAjaxManager. The new Data is persisted to the Database. Now I'm changing the ContentUrl of the RadPane clientside via set_ContentUrl("...") to another page and then to the original page again. The new entry/changes are not displayed but only the old data is shown.

    This behavior only occures in IE7 not in FF. If I manual reload the RadPane, the changes are shown.

    Do you an idea to that?

    Thanks and kind regards
    Philip
  2. Philip
    Philip avatar
    40 posts
    Member since:
    Jan 2008

    Posted 12 Mar 2008 Link to this post

    It seems, that I found a solution to my problem.

    When I insert the following Code on top of the concerning file:
    <Response.CacheControl = "no-cache"; %> 
    <% Response.AddHeader("Pragma", "no-cache"); %> 
    <Response.Expires = -1; %> 
     

    the page is not cached anymore.
Back to Top