Silverlight 4 caching issue?
- by DavidS
I am currently experiencing a weird caching problem it would seem. When I load my data intially, I return all the data within given dates and my graph looks as follows:
Then I filter the data to return a subset of the original data for the same date range (not that it matters) and I get the following view of my data:
However, I intermittently get the following when I refresh the same filterd view of the data:
One can see that not all the data gets cached but only some of it i.e. for 12 Dec 2010 and 5 dec 2010(not shown here). I've looked at my queries and the correct data is getting pulled out. It is only on the presentation layer i.e. on Mainpage.xaml.cs that this erroneous data seems to exist.
I've stepped through the code and the data is corect through all the layers except on the presentation layer. Has anyone experienced this before? Is there some sort of caching going in the background that is keeping that data in the background as I've got browser caching off?
I am using the LoadOperation in the callback method within the Load method of the DomainContext if that helps...