Rank: Member Groups: Member
Joined: 12/29/2008 Posts: 29
|
Hi, I use the TreeView with PopulateOnDemand. The event fires when a node is expanded the first time. If the node is collapsed, there is no event and when the node is expanded again later, the the event for populate does not fire again. My problem is, that in the meantime the data for the next level could have been change in the database (between first and second time expanded). How to get the latest data from the database when the node is expanded again? Is it possible to configure the tree or node, so that the event fires every time the node is expanded? And it would be fine to have an event firing when the node is collepsed. Thanks for you assistence!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
No. There is no way to do that. You would have to trigger a full post back in order to refresh (then all ItemPopulate event will be called again).
Thanks!
|