I have an issue where nodeadded event continues to fire until there has been a full page postback. I have a page split into two divs basically: one div contains the treeview control and the other contains a warp panel with data controls for the differing nodes. When I do partial postback through the warp panel the nodeadded event fires I insert the nodes to the database. The problem is that unless there is a full page postback the treeview continues to fire the nodeadded event so extra nodes are still being added to the database. Is there anyway to tell the tree the nodes have already been added after a partial page postback?
Thanks,
Wade
No worries I found a work around. Though I am still curious if there is an easy way to handle this....
Hello,
This looks like an issue in Tree / WARP - it seems that in partial update NodeAdded fires upon each refresh. I will do if we can get this addressed in a hotfix.
Can you please share your workaround? Maybe you check the WARP IsAsyncPostBack property in the node add event handler?
Thanks.
Well I was attempting to have a majority of the functionalilty on the client side but have since moved it to server side. So just setting the tree to autopostback pretty much fixed it. But it would seem that once the node added event fired it would not fire again regardless if it were a partial or full postback or there should be a way to tell the tree the node was added during a partial postback or just not have the event fire at all during a partial postback.
Thanks for the assistance though. I really enjoy the Infragistics products!