Weird behavior with IE and datagrid
I am not sure how to classify this issue but I have some problems recently with IE and a datagrid. Well I have also the problem in different other controls.
To be totally sure I remove everything from my datagrid which has nothing with it, so now it's really a basic one.
Not only I can repeat the same steps below to see the problem arise on my machine, but on 5 other colleagues PC at least (didn't tried with Firefox).
OK here we go:
In the datagrid (dataset binded directly no cache at all),I have a basic Delete this record button. When I click on the button I call a delete method so nothing fancy there.
Next I bind the datagrid again to reflect the deletion and of course my deleted record disappear.
The project I am working on is under authentication, so this is where the things going very strange. Immediately after the record deletion I click on the Logout link, which call guess what... a Logout method. Then I enter again my credentials, call back the menu to access my Datagrid page and surprise, the deleted record is there !
Of course I checked in my db where the record is perfectly deleted. It's really a client side problem because if I refresh the page the Datagrid show the right information.
The only solution I found which create more problems is to change IE options and ask in the zone Temporary Internet Files -> Settings ->Check for newer versions of stored pages every time instead of automatically.
Also this behaviour happens also randomly on different controls, labels or textbox. For example, if I am logged as user A, my code display the user A on the bottom of the page. Fine. If I log out and log in as User B, User A is still there on the bottom!
I am sure I never had this problem few months ago.
Any idea?