![]() |
Tag Property Lost During Drag And Drop |
Post Reply ![]() |
Author | |
haraldradi ![]() Newbie ![]() Joined: 31 August 2006 Location: Austria Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 21 December 2006 at 8:22am |
If I fetch the dragged ReportRecords from the clipboard the contents of the Tag Property is lost. I use the following C# code during the DragDrop event of a TreeView component:
public ReportRecords GetDraggedRecords(DragEventArgs e) { MemoryStream stream = e.Data.GetData(clipboardName) as MemoryStream; if (stream != null) { return report.CreateRecordsFromDropArray(stream.ToArray()); } return null; } I also tried to handle the ReportControl's BeginDrag event and examine what will be pushed onto the clipboard, but there the Tag Property is still set. The Tag would contain a long value, so this should not be a serialization issue. |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
This is actually a bug... Will be fixed for the next release.
-- WBR, Serge |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |