Saturday, September 11, 2010

refresh a treeview

http://forums.asp.net/p/1083582/1607976.aspx

changed the "EnableCaching" property of XmlDataSource1 to "false" and the treeview refreshes on button click.

XmlDataSource1.DataBind();  // Rebind datasource to xml file TreeView1.DataBind();       // Rebind tree to datasource 

No comments: