ASP.NET Treeview not refreshing
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'm populating a treeview in a form at page load when data inserted from another form and submitted. But Treeview data is not refreshed. I input data into a form, click submit, user is redirected to a new page with a Treeview, this treeview data is not updated. I tried debugging, query is fetching correct data, but once treeview is bound and when it appears on the page, it shows previous data, nodes are not getting refreshed. I have called the DataBind() after setting DataSource of the TreeView. I tried clearing the Nodes before setting DataSource property, but it was of no use! Could someone tell me whats going wrong here? Regards, Blumen