SetAllowDrop and disposed element

3 posts, 1 answers
  1. Francois Vanderseypen
    Francois Vanderseypen avatar
    46 posts
    Member since:
    Oct 2009

    Posted 19 Mar 2010 Link to this post

    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. Answer
    Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 23 Mar 2010 Link to this post

    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.
  3. DevCraft banner
  4. Francois Vanderseypen
    Francois Vanderseypen avatar
    46 posts
    Member since:
    Oct 2009

    Posted 24 Mar 2010 Link to this post

    Yes, got the support response, thanks a bunch. It gives me confidence in the way I've used the dragdropmanager :)

    Kindly, Fr.


Back to Top