TreeView is not beeing updated and displays old information after page changes

ali fakheri posted at 09-May-08 12:57
Hi - I'm hoping some can help me out cuz I'm driving myself nuts with this.
I can bind a treeview control to a xmldatasource control just fine.  I add
both controls then in code I bind the xmlds obj to the xml string, then set
some binding props in the treeview and bind away.  The required data
displays in the tree.
Now here is where it gets crazy...I'm progammatically deleting and adding
data in the source via a web service. The actions work fine cuz when I get
the lastest xml data it is updated correctly.  When I got to thru the above
process again and bind to the treeview the old data displays in the tree!
How can this be? I bascially have to shut down VS'05, restart IIS, delete
the contents of "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files" then restart VS'05.  Upon running the project the new data
appears.
This has got to be something really stupid.   I'm thinking I'm not updating
the tree binding correctly or there is some sort of cache problem.

Thanks in advance.
Ali

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  TreeView is not beeing updated and displays old information after page changes - ali fakheri  09-May-08 12:57 12:57:15 AM
      Here we go! - Aravind Kumar  09-May-08 02:10 2:10:28 AM
          TreeView is not beeing updated and displays old information after page changes - ali fakheri  09-May-08 06:24 6:24:30 AM
View Posts