Hi guys.
I have a custom TreeNode that stores a reference to a Csla Business Object in a property. I wanted to support drag and drop of this TreeNode and its related business object to another application. First off I tried drag and drop within the same application, and that worked fine. Then I tried drag and drop to another application and got the Exception "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server".
This is the code I am using (tvBusinessObjects is a TreeView)
private void tvBusinessObjects_MouseMove(object sender, MouseEventArgs e)private
void tvBusinessObjects_DragDrop(object sender, DragEventArgs e)private
void ProcessDraggedBizObject(BusinessObjectTreeNode tn)If I look at the value of the tn variable in the DragDrop event it is listed as System.Runtime.Remoting.Proxies__TransparentProxy rather than BusinessObjectTreeNode as expected. When dragging locally it seems to be the correct type. What on earth do I need to do to get this to work correctly? Hope somone can help!
TIA
Copyright (c) Marimer LLC