This is a migrated thread and some comments may be shown as answers.

IE7: Changes via Ajax Callback only shown after manual Reload

1 Answer 62 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 12 Mar 2008, 10:18 AM
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

1 Answer, 1 is accepted

Sort by
0
Philip
Top achievements
Rank 1
answered on 12 Mar 2008, 02:29 PM
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.
Tags
Splitter
Asked by
Philip
Top achievements
Rank 1
Answers by
Philip
Top achievements
Rank 1
Share this question
or