
3 Answers, 1 is accepted
Thank you for these ideas.
We will definitely put a thought on them.
The first problem that emerges in implementing the rebind, though, is:
- What should happen if you use the RadTreeView with Load On Demand and call rebind client-side?
The first problem that will be tricky about NodeRemoved event is:
- Will people really enjoy getting NodeRemoved handlers fired during Drag&Drop (adding an existing node to a different parent node will trigger its removal from the source location, hence it will trigger NodeRemoved event)? Will it make enough sense?
Also, where exactly do you find the need of NodeRemoved event? Perhaps there are another means in which the problem you experience might be solved just as easily.
I am looking forward to your response.
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Why would a NodeRemoved event have to fire during a drag and drop event?
"Why would a NodeRemoved event have to fire during a drag and drop event?"
- It will be raised because in order to add a node to one collection, it's first removed from the previous in which it resides. Also the server events in ASP.NET WebForms are either triggered client-side or internally by our control. For example NodeExpand will not be raised server-side when you set node.Expanded = true; of a random node. In order to raise NodeRemove event we need to support such a action trough a user-action (e.g. default context menu with delete option for example). And RadTreeView doesn't support such.
This means that in the current state RadTreeView cannot implement NodeRemove event.
Still I haven't got the chance to discuss the Rebind functionality with the rest of the team, but I commit on doing so as soon as possible.
I only got the chance to think about it on my own and it's also unclear on some levels.
Rebind from client-side is adopted by all DataSource-only controls - meaning controls that cannot implement manual population. RadTreeView is not such a control - it allows for both of the approaches.
Once we decide on this, I will notify you in this same thread.
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.