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

Drag and Drop: Line separater when item are being dropped to destination

7 Answers 115 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Swostik Lamichhane
Top achievements
Rank 1
Swostik Lamichhane asked on 03 Feb 2012, 03:02 PM
We have implemented drag and drop in gridview and treelistview. Now we are trying to implement separator when an item or items are being dropped to the destination just like the telerik silverlight example for 'Drag and drop: tree to grid drag'.

I have attached screenshot of the telerik example.

Again, it would be great is someone could point me to right direction about adding line separator when items are being dropped in GridView or Treelistview

7 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 03 Feb 2012, 03:20 PM
Hi Swostik,

If you use RadTreeListView you will get this behavior out-of-the-box as demonstrated in this online example.

Kind regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Swostik Lamichhane
Top achievements
Rank 1
answered on 03 Feb 2012, 05:55 PM
i did look at that example but it doesn't lookin like there are any properties that i can simply set to true or false or set some data template to enable separator.

if not, do we have to change the template of treegridview / gridview to show and hide this separator when dragged?
0
Pavel Pavlov
Telerik team
answered on 06 Feb 2012, 04:52 PM
Hi Swostik,

No need of properties to set or change templates when you do drag and drop with RadTreeListView.
If you follow the code in  example mentioned there should be no problem with the drop position indicators.

All the best,
Pavel Pavlov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Swostik Lamichhane
Top achievements
Rank 1
answered on 06 Feb 2012, 05:07 PM
We have followed the example and it still doesn't appear in RadTreeListView  for us and we want this separator to be visible in grid view too.

Also, before i got your reply i had also opened a ticket 509043 (view all your support tickets) with same issue.

0
Pavel Pavlov
Telerik team
answered on 07 Feb 2012, 01:05 PM
Hello Swostik ,

To avoid duplication I will continue the thread in your relevant support ticket.

Regards,
Pavel Pavlov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Erik
Top achievements
Rank 2
answered on 15 Feb 2012, 04:49 PM
Hi,

I have the same question here. When you see the examples it would be great if the user can see where the drop will take place. Better, in my case, would be if the item being dragged is hidden and then a drop indicator shows where it will be dropped.

so, any progress with this post?


Regards,

Erik
0
Vlad
Telerik team
answered on 16 Feb 2012, 08:05 AM
Hello,

 We've not received project demonstrating the problem so far. 

All the best,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
DragAndDrop
Asked by
Swostik Lamichhane
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Swostik Lamichhane
Top achievements
Rank 1
Erik
Top achievements
Rank 2
Vlad
Telerik team
Share this question
or