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

Drag and Drop and Windows scrolling

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thomas E
Top achievements
Rank 1
Thomas E asked on 21 Jan 2014, 03:52 PM
Hello,

I have a radgrid with drag and drop working perfectly. How can I make the drag function scroll the browser window if the drop location is not shown?

Thanks
Thomas

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Jan 2014, 09:11 AM
Hi Thomas,

In order to make the browser window scroll when an item is dragged outside of the viewport you would need to implement custom logic. This behavior is not controlled by our controls.

One possible approach would be to use JavaScript and add invisible div elements dynamically at the top or bottom of the page. When the mouse cursor enters the area of these divs the page should be scrolled.

Regards,
Viktor Tachev
Telerik
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 the blog feed now.
Tags
Grid
Asked by
Thomas E
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or