Welcome Guest Search | Active Topics | Sign In | Register

TreeView: PopulateOnDemand Options
Roger Jordan
Posted: Friday, July 19, 2013 2:15:29 PM
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!
eo_support
Posted: Friday, July 19, 2013 2:23:13 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.