This is a migrated thread and some comments may be shown as answers.
Change row by image while is droping
4 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 13 Jun 2012, 07:01 PM
I need change row image while is droping



by other icon or image, for example:




How I can do this??

regards

4 Answers, 1 is accepted

Sort by
0
JJ
Top achievements
Rank 1
answered on 13 Jun 2012, 11:29 PM
.can not see your example image
0
July
Top achievements
Rank 2
answered on 14 Jun 2012, 09:49 AM
I use chorme I see it..

I Attach the image right now!


I need change row image while is droping   -
-> captura 1

By captura 2

Please I need Help!!! 

regards
0
July
Top achievements
Rank 2
answered on 22 Jun 2012, 02:37 PM
Any Ideas? 
I need help!!!
0
Accepted
Eyup
Telerik team
answered on 26 Jun 2012, 02:11 PM
Hello Julieta,

Please try the following approach:
  mark-up:
<ClientSettings AllowRowsDragDrop="true">
    <ClientEvents OnGridCreated="GridCreated" />
    <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
</ClientSettings>
  JavaScript:
function GridCreated(sender, eventArgs) {
           sender.add_rowDragging(rowDragging);
       }
       function rowDragging(sender, eventArgs) {
           var row = sender._draggedRow;
           row.innerHTML = "<img  src='http://www.adobe.com/images/shared/product_mnemonics/50x50/acrobat_50x50.gif' />";
           row.style.width = 0 + "px";
           row.style.height = 0 + "px";
       }

That should do the trick.

Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
July
Top achievements
Rank 2
Answers by
JJ
Top achievements
Rank 1
July
Top achievements
Rank 2
Eyup
Telerik team
Share this question
or