Hi all !
i'm using a flynodeset cnotrol in order to load data in a flytreeview, and sometimes i have to delete or move some nodes. When the user clicks on a button which is created in a node, a javascript function is called , and the page is postbacked . In server side, the application detects the event, and deletes/moves the pointed element in my database. Then i would like to refresh my treeview from the data stored in database, but the flynodeset seems to keep the xml in cache. Is it possible to empty this cache ?
i've tried to add this code on each page ([treeview].aspx and [nodeset.aspx]) to empty asp.net cache but i doesn't work better :
Response.CacheControl = "no-cache";
Response.AddHeader("Pragma", "no-cache");
Response.ExpiresAbsolute = DateTime.Now.Date;
Response.Expires = -1;
Setting a new nodesrc for my treeview doesn't work too...
any idea?
thanks