This is a migrated thread and some comments may be shown as answers.

SetAllowDrop and disposed element

2 Answers 58 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Francois Vanderseypen
Top achievements
Rank 2
Francois Vanderseypen asked on 19 Mar 2010, 02:42 PM
I've got a whole collection of elements which can grow and when an element is added the SetAllowDrop is set to true. When an element is removed, do I need to notify the RadDragAndDropManager? That is, there is no hidden reference in the RadDragAndDropManager which potentially keeps the removed collection elements from being disposed?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Tihomir Petkov
Telerik team
answered on 23 Mar 2010, 03:44 PM
Hello Francois,

You do not need to call the SetAllowDrop() method for elements you are discarding. My colleague Miroslav already replied to your other post on the same topic. Please review the reply and let us know whether it helps.

Regards,
Tihomir Petkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Francois Vanderseypen
Top achievements
Rank 2
answered on 24 Mar 2010, 07:05 AM
Yes, got the support response, thanks a bunch. It gives me confidence in the way I've used the dragdropmanager :)

Kindly, Fr.


Tags
DragAndDrop
Asked by
Francois Vanderseypen
Top achievements
Rank 2
Answers by
Tihomir Petkov
Telerik team
Francois Vanderseypen
Top achievements
Rank 2
Share this question
or