Hi,
I'm trying to implement drag & drop from ListView to TreeView. I need to assign a custom value on the "id" attribute so it can be used in ListView's DestinationHtmlElement in RadListViewItemDragDropEvent. If I bind the tree nodes on the Server-Side with RadTreeNode type, everything works fine. But if I use Web Service with RadTreeNodeData type, the DestinationHtmlElement is empty. Do I need to do something different with the web service?
I'm trying to implement drag & drop from ListView to TreeView. I need to assign a custom value on the "id" attribute so it can be used in ListView's DestinationHtmlElement in RadListViewItemDragDropEvent. If I bind the tree nodes on the Server-Side with RadTreeNode type, everything works fine. But if I use Web Service with RadTreeNodeData type, the DestinationHtmlElement is empty. Do I need to do something different with the web service?
// Server Side with RadTreeNode type works fine var node = new RadTreeNode(); node.Attributes.Add("id", "folder_" + dtrReader["folderID"]); // Web Service with RadTreeNodeData type and the DestinationHtmlElement is emptyvar node = new RadTreeNodeData(); node.Attributes.Add("id", "folder_" + dtrReader["folderID"]); 