﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - drag-n-drop</title><link>http://www.intersoftsolutions.com/Community/Tags/drag-n-drop/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Distinguish between drag-n-drop sources</title><link>http://www.intersoftsolutions.com/Community/Tags/drag-n-drop/</link><pubDate>Thu, 05 Sep 2013 03:47:51 GMT</pubDate><dc:creator>mikegirkin@gmail.com</dc:creator><category>drag-n-drop</category><description>&lt;p style="font-family: 'lucida grande', 'segoe ui', arial, verdana, tahoma; line-height: 18px; margin-right: 0px; margin-left: 0px; padding: 0px; color: rgb(63, 63, 63); font-size: 12px; background-color: rgb(255, 255, 255);"&gt;Hello!&lt;/p&gt;
&lt;p style="font-family: 'lucida grande', 'segoe ui', arial, verdana, tahoma; line-height: 18px; margin-right: 0px; margin-left: 0px; padding: 0px; color: rgb(63, 63, 63); font-size: 12px; background-color: rgb(255, 255, 255);"&gt;  I have a problem using ClientUI (Silverlight).&lt;/p&gt;
&lt;p style="font-family: 'lucida grande', 'segoe ui', arial, verdana, tahoma; line-height: 18px; margin-right: 0px; margin-left: 0px; padding: 0px; color: rgb(63, 63, 63); font-size: 12px; background-color: rgb(255, 255, 255);"&gt;  I have two databound listboxes in one form with items of the same structure, the only thing that differs is data values. Those listboxes are sources for draggin items. The task is to distinguish the source of dropped items. I tried to use SetData() method on DragInit event having a goal to get this data back on Drop event. But GetData() in drop event returns null. (I tried to use the approach described here &lt;a href="http://www.intersoftpt.com/Support/ClientUI/Documentation/WalkthroughPerformDragdropUsingAPI.html#url=HowtoStoreDataObjectAtDragInitEvent.html" style="color: rgb(22, 95, 167); font-size: 10pt;"&gt;http://www.intersoftpt.com/Support/ClientUI/Documentation/WalkthroughPerformDragdropUsingAPI.html#url=HowtoStoreDataObjectAtDragInitEvent.html&lt;/a&gt;)&lt;/p&gt;
&lt;p style="font-family: 'lucida grande', 'segoe ui', arial, verdana, tahoma; line-height: 18px; margin-right: 0px; margin-left: 0px; padding: 0px; color: rgb(63, 63, 63); font-size: 12px; background-color: rgb(255, 255, 255);"&gt;  Looked through documentation, but cannot find another way of attaching custom data to the object being dragged. I hope there is a way to do this. &lt;/p&gt;</description></item></channel></rss>