Balaram Barange
Top achievements
Rank 1
Balaram Barange
asked on 09 Mar 2010, 11:20 AM
Hi,
I am working with multiple items drag and drop. My problem is that when i dragged multiple items(say 5-6) and move the mouse over the destinaltion i am unable to see the destination because the dragged items are not transparent and it is diffcult to know the exact position of the drop.
Could you please suggest me the solution or some work around.
Thanks
Balaram
I am working with multiple items drag and drop. My problem is that when i dragged multiple items(say 5-6) and move the mouse over the destinaltion i am unable to see the destination because the dragged items are not transparent and it is diffcult to know the exact position of the drop.
Could you please suggest me the solution or some work around.
Thanks
Balaram
5 Answers, 1 is accepted
0
Hello Balaram Barange,
You can try to set Opacity = .5 for example to the dragging visual objects so they're going to be half transparent.
Please let us know if this works for you.
Best wishes,
Miro Miroslavov
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.
You can try to set Opacity = .5 for example to the dragging visual objects so they're going to be half transparent.
Please let us know if this works for you.
Best wishes,
Miro Miroslavov
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
Balaram Barange
Top achievements
Rank 1
answered on 10 Mar 2010, 05:33 PM
Hi,
I am not getting wich element's Opacity property should be set. In OnDragQuery i am setting the e.source's Opacity property and it set the peropet which is in the tree.
Thanks
Bala
I am not getting wich element's Opacity property should be set. In OnDragQuery i am setting the e.source's Opacity property and it set the peropet which is in the tree.
Thanks
Bala
0
Hello Balaram Barange,
In your OnDragQuery handler you should set Opacity = .5 to the e.Options.DragCue visual element - the element that is dragged visually.
Please let me know if this works for you.
Regards,
Miro Miroslavov
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.
In your OnDragQuery handler you should set Opacity = .5 to the e.Options.DragCue visual element - the element that is dragged visually.
Please let me know if this works for you.
Regards,
Miro Miroslavov
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
Balaram Barange
Top achievements
Rank 1
answered on 11 Mar 2010, 12:58 PM
Hi,
In my OndragQuery event, e.Options.DragCue is null.
what should i do?
Thanks
Bala
In my OndragQuery event, e.Options.DragCue is null.
what should i do?
Thanks
Bala
0
Hi Balaram Barange,
Ok, so you can do this in the OnDragInfo handler, but check if the status is DragInProgress, in this event handler the e.Options.DragCue won't be null.
Kind regards,
Miro Miroslavov
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.
Ok, so you can do this in the OnDragInfo handler, but check if the status is DragInProgress, in this event handler the e.Options.DragCue won't be null.
Kind regards,
Miro Miroslavov
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.