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

Text Style During Drag

2 Answers 67 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Jon Shipman
Top achievements
Rank 1
Jon Shipman asked on 21 Oct 2010, 11:04 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Genady Sergeev
Telerik team
answered on 27 Oct 2010, 09:18 AM
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
0
Jon Shipman
Top achievements
Rank 1
answered on 27 Oct 2010, 04:19 PM
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!

Tags
ListBox
Asked by
Jon Shipman
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Jon Shipman
Top achievements
Rank 1
Share this question
or