I have a TreeListView as the drag source. The nodes user selected will be dragged and dropped to a TreeView on the right. I need to implement a policy to prevent some nodes from dragging over and I thought I could do this is the DragQuery event handler. However, the event does not seem to fire at all for TreeListView. I had no problem doing this with a RadTreeView. I am wondering whether I didn't coded it right or it is by design. Here is the declaration of the event handler with my RadTreeListView.
RadDragAndDropManager.AddDragQueryHandler(
this
.MyTreeListView, OnTreeListViewDragQuery);
private
void
OnTreeListViewDragQuery(
object
sender, DragDropQueryEventArgs e)
{
}
If this is by design (I doubt that is the case), which event handler should I implement a drag and drop policy?