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

Show icon on Draping

1 Answer 30 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 19 Oct 2012, 02:09 PM
Hi!!..
I need replace the Name of items draping by an icon!...

I did on Grid but I couldn't do in RadListbox.

OnDrapping="ShowIcon"

function ShowIcon(sender,args){

  var row = sender._draggedRow; --> this is not correct


    row.innerHTML = "<img  src='/UI/Images/user_transfer.png' />";
    row.style.width = 0 + "px";
    row.style.height = 0 + "px";
}


How i can do this?

1 Answer, 1 is accepted

Sort by
0
July
Top achievements
Rank 2
answered on 19 Oct 2012, 02:30 PM
I found the solutions

function rowDraggingUserListBox(sender, args) {
    var row = sender._draggingClueElement;


    row.innerHTML = "<img  src='/UI/Images/user_transfer.png' />";
    row.style.width = 0 + "px";
    row.style.height = 0 + "px";
}


Tags
ListBox
Asked by
July
Top achievements
Rank 2
Answers by
July
Top achievements
Rank 2
Share this question
or