Drop preview when dropping to listbox

2 posts, 0 answers
  1. Nabil Shuhaiber
    Nabil Shuhaiber avatar
    14 posts
    Member since:
    Sep 2009

    Posted 21 Sep 2010 Link to this post

    I am dragging from one listbox to another. Rather than display a dropcue I want to preview the amount of space to be taken up by the item if dropped. Basically I want to show the item in the list as if it was already dropped but apply an effect such as a mask to make it look clear the it is just a preview. Hope this explains it well. Any ideas how I can get this to work. I was thinking something along the lines of actually inserting the item with a style applied to it (to make it look different) and keep it there if a drop is initiated otherwise remove it when I drag away.

  2. Tsvyatko
    Tsvyatko avatar
    832 posts

    Posted 22 Sep 2010 Link to this post

    Hi Nabil Shuhaiber,

    I can suggest you using another element that is positioned over the current item while dragging. You can check these two projects for idea how to implement it.

    Please, let me know if you have any other questions regarding this scenario.

    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 R3 2016 release webinar banner
Back to Top