Text Style During Drag

3 posts, 1 answers
  1. Jon Shipman
    Jon Shipman avatar
    43 posts
    Member since:
    Nov 2009

    Posted 21 Oct 2010 Link to this post

    I am dragging from a ListBox to a Treeview.  Everything is going well so far.

    I would like to control the way the text appears while it is being dragged (or drug?).  If there is a CSS class I can override, that'd be great. If I need to set the class name onListBoxDragStart for instance, that'd be fine too.  I just need a little help from the experts please.

    Thanks!
  2. Answer
    Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 27 Oct 2010 Link to this post

    Hi Jon Shipman,

    Unfortunately it is not currently possible to style the dragging clue (the item being dragged). However, it sounds reasonable one to able to do so. This why we will add the following class to the clue for the Q3 release: rlbDraggingClue. Then you will be able to change the text in the item being dragged like this:

    .rlbDraggingClue
    {
        color:Red;
    }

    I hope that this helps. I've also updated your telerik points for the suggestion.

    Greetings,
    Genady Sergeev
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon Shipman
    Jon Shipman avatar
    43 posts
    Member since:
    Nov 2009

    Posted 27 Oct 2010 Link to this post

    Sounds great.

    The items my users will be dragging have very long titles.  I use word-wrap for my listboxitems but when they drag them it becomes a very long single line.  So I'll be looking forward to being able to adjust the appearance of the dragging clue.

    Thanks!

Back to Top