JanaComo313
New Member
Hi All, <BR><BR>I've run into a problem with my treeview being cached. The treeview is pulling its source from an XML file, but even when the XML file changes the TreeView stays the same until I manually hit refresh. I'm not sure if this is an issue with the XML src being cached or the asp.net page that the control resides on. I tried adding something like:<BR><BR>Response.Cache.SetExpires(DateTime.Now.AddSeconds(-60))<BR>Response.Cache.SetCacheability(HttpCacheability.Pr ivate) <BR><BR>to the Page_Load sub, but that seems to do nada. The TreeView is only being built on the first page load (if not ispostback), but when I do a response.redirect back to the page I get the original version (even if i remove the 'if not is postback'). <BR><BR>Any ideas? It's certainly possible my "no cache" attempt was syntactically or functionally incorrect. <BR><BR>Thanks,<BR><BR>])ry