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

delay autoscroll when dragdrop

9 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 12 Apr 2012, 08:17 PM
hi
After upgrading to the latest gridview (2012.1.326.1040), when drag drop UI element out of the gridview, the autoscroll kicks in whenever the element is dragging out of the gridview. but could the autoscroll start only when the dragging element stays on the boundary for a short time? since autoscroll should not start right away if I just want to drag stuff out of the grid.

Kevin

9 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 16 Apr 2012, 03:34 PM
Hi Kevin,

Unfortunately, the GridView does not offer such functionality. You can see how you can create a custom AutoScrollBehavior here

Hope this helps! 

All the best,
Nik
the Telerik team

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

0
Kevin
Top achievements
Rank 1
answered on 16 Apr 2012, 04:05 PM
Ok here it is
http://www.telerik.com/help/silverlight/raddraganddrop-overview.html

and this post

http://www.telerik.com/community/forums/silverlight/drag-and-drop/auto-scroll-on-grid-view.aspx

looks like the RadDragdropManager provides this feature. so now how to correct/modify this behavior for the dragdrop manager?

Kevin
0
Nick
Telerik team
answered on 17 Apr 2012, 09:08 AM
Hello Kevin,

Sorry for the misunderstanding. I meant that you cannot customize the default autoscroll behavior. If you want to achieve the functionality you desire you will have to implement one of your own. 
We are currently developing DragAndDropBehaviors for our most used controls built on top of our new Drag & Drop mechanism, the DragDropManager, that will allow the developers to modify such properties. However we are not committed to a certain time frame, so for the time being you can  achieve this by using the method from my previous post.

Hope this helps! 

All the best,
Nik
the Telerik team

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

0
Kevin
Top achievements
Rank 1
answered on 25 Apr 2012, 06:27 PM
I am currently using RadDragDropManager, switching to DragDropManager would be a big change. how could I achive the behavior with RadDragDropManager?
0
Nick
Telerik team
answered on 26 Apr 2012, 08:45 AM
Hello Kevin,

Unfortunately, you cannot modify the default behavior. You can set the RadDragAndDropManager's ExecutionMode to Disabled and implement the AutoScrollBehavior on your own similar to this one. 

Hope this helps! 

Greetings,
Nik
the Telerik team

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

0
Kevin
Top achievements
Rank 1
answered on 26 Apr 2012, 02:20 PM
by setting the executionmode to disabled, what other behaviors will be affected?
0
Nick
Telerik team
answered on 26 Apr 2012, 02:41 PM
Hello Kevin,

I am sorry for the mistake, I meant to say set the execution mode to Default. Changing the RadDragAndDropManager's Execution mode affect only behaviors that depend the RadDragAndDropManager's events.

Hope this helps! 

Regards,
Nik
the Telerik team

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

0
Kevin
Top achievements
Rank 1
answered on 26 Apr 2012, 02:53 PM
what are those behaviors? dragquery etc?
0
Nick
Telerik team
answered on 30 Apr 2012, 12:21 PM
Hello Kevin,

The main difference between the Default and legacy mode is that in Default mode, you are not going to get the AutoScroll and DragArrow features. Other than that the RadDragDropManager should behave correctly. 

Hope this clarifies the changes in the execution modes! 

All the best,
Nik
the Telerik team

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

Tags
GridView
Asked by
Kevin
Top achievements
Rank 1
Answers by
Nick
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or