YUI treeview not getting refreshed

120 Views Asked by At

I am using YUI treeview to show some hierarchical structure.The problem is that even when I delete some nodes from back end and then refresh the whole tree it does not reflect the changes done on back end.(i.e If I remove a certain node from database and then refresh the page containing the tree view it still shows the deleted node in tree.)

Ironically this issue is just specific to IE 8 and 9.

I dont face this issue in chrome and firefox.

is there a way to solve this problem?

1

There are 1 best solutions below

4
Devasatyam On

The problem might not be TreeView but too aggressive caching by the browser. IE is known to do that. With the debugger, look at what information was actually transferred from the server. In the refresh, the browser might be actually reading the data from its own cache. If so, the problem is not YUI's. After all, it works in other browsers.