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

AutoScrollOnDragDrop doesn't seem to work

15 Answers 121 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 11 Mar 2008, 11:13 PM
Hi

I presumed that AutoScrollOnDragDrop when set to true allows the user to scroll the control as they drag a node beyond the visible nodes.

If this is the functionality it doesn't seem to work. Am I missing something?

Regards

Ian

15 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 13 Mar 2008, 01:39 PM
Hi Ian,

You can see the auto scrolling on drag and drop feature in the Drag and Drop example of RadTreeView in the Quick Start Framework. In that example, drag a node slowly to the bottom/top of the RadTreeView control.

You have understood the idea correctly, but the current implementation may not work as you expect it in all cases. For example if you drag the node outside the area of the RadTreeView too quickly it will not scroll automatically.

Greetings,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Nadine
Top achievements
Rank 1
answered on 09 Feb 2009, 01:31 PM
Hello,

I've got exactly the same problem... I tested to drag the node slowly as you described, but without success.

The AutoScroll functionality doesn't work for both directions - only for scrolling to top. If I try to drag a node to bottom, nothing happens.

Best regards.

Nadine
0
Victor
Telerik team
answered on 10 Feb 2009, 10:28 AM
Hello Nadine,

Thank you for your question.

Please do the drag without going out of the TreeView bounds. Just drag a node toward the bottom or the top and see if it works. Also note that you have to move your mouse around a bit in order for the scroll to work continuously.

I am currently testing it here and it seems to work reasonably well. Could you also tell me what version of our controls you are using? If your version is outdated, chances are that this is the reason.

I am looking forward to your reply.

All the best,
Victor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nadine
Top achievements
Rank 1
answered on 10 Feb 2009, 10:38 AM
Hi,

I'm using Q3 2003 SP2.

I tried it again - without success...

Could the horizontal scrollbar be the problem?

Best regards.

Nadine
0
Victor
Telerik team
answered on 12 Feb 2009, 01:24 PM
Hi Nadine,

You are right. The horizontal scrollbar is causing trouble. This seems to be a bug and will be fixed in one of our future releases. I am sorry if this causes you trouble but we had not encountered this problem before. If you re-size the tree view to be wide enough so that the horizontal scroll disappears, the auto scroll should work as expected.

I would advise you to upgrade to the newest version of our controls (Q3 2008 SP2). We have done numerous improvements, fixes and tweaks and our controls use less memory.

Please write again if you have other questions.

Regards,
Victor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nadine
Top achievements
Rank 1
answered on 12 Feb 2009, 01:31 PM
Hi,

thank you for your reply.

I have the newest version - this was a typing error.

Desperately, it is not an option for me to resize the tree to loose the scroll bar. There's not enough space in my form.

What do you think, when will you release the next version that includes the fix?

Best regards.

Nadine
0
Victor
Telerik team
answered on 16 Feb 2009, 11:35 AM
Hi Nadine,

Thank you for writing once again. I feel I should inform you that we have a long list of features and fixes already promised for this release so we will not be able to address the issue for this release. I cannot currently give you any exact time frame but the issue is already logged and we will soon start working on it.

Please write back if you have more questions.

Sincerely yours,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Nadine
Top achievements
Rank 1
answered on 16 Feb 2009, 11:58 AM
Hello,

thank you. I'll wait for the fix.

Normally, I should get an update of my points, right?

Best regards.

Nadine
0
Victor
Telerik team
answered on 16 Feb 2009, 12:50 PM
Hello Nadine,

Of course. Your Telerik points have been updated. Please write back if you need assistance or if you have questions.

All the best,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stephen
Top achievements
Rank 2
answered on 21 Sep 2009, 05:55 AM
Hi Victor,

I'm looking into a reported bug in an App I wrote which is essentially, the drag and drop autoscroll needs to move the mouse continuously in order for it to scroll the listbox target. Is this normal behaviour? Is there any way to make it scroll continuously purely on the position without having to move the mouse about while dragging?

The problem I'm having is on the Telerik Silverlight drag and drop functionality so sorry about the slightly off topic. I've not been able to find anything on Silverlight autoscroll.

thanks,
Stephen
0
Miroslav
Telerik team
answered on 23 Sep 2009, 11:16 AM
Hi Stephen,

I am sorry for the delayed reply,

Unfortunately currently the automatic scrolling is triggered on mouse move and it is not possible to override this behavior.

You bring up a valid point though and I have added this improvement in the product backlog for the DragDrop.

Unfortunately I cannot suggest a date by which the improvement will have been implemented.

Your Telerik Points have been updated for your feedback.

Kind regards,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
swathi kajjam
Top achievements
Rank 1
answered on 07 Jan 2010, 10:27 PM
Without fixing the height for the Radtreeview,how to provide autoscroll option on dragdrop for radtreeview.
0
Miroslav
Telerik team
answered on 11 Jan 2010, 08:46 AM
Hello swathi kajjam,

The auto-scroll feature is now implemented as discussed here. Are you experiencing problems with it? In what scenarios?

I created a very simple solution where auto-scroll works without setting the Height of the TreeView. Am I missing something?

Kind regards,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
swathi kajjam
Top achievements
Rank 1
answered on 11 Jan 2010, 04:47 PM
Hi Miroslav,

Thanks for your reply,

This is my Code,where iam giving the height to the Radtreeview as autoscrollup on drag drop is not working. The Problem which iam facing is that, once if the user tries to drag and drop from one node to another node and if the dropping node is outside the screen view,user is unable to drop to the node where he actually wants to drop.
I have checked with all the properties of RadTreeview for AutoScrolling option on Drag Drop,but it dint worked for me.So,Can you please let me know,to provide such option what properties do i need to set.

 

 

 

 

 

<telerik:RadTreeView ID="MaprTreeView" runat="server"  OnContextMenuItemClick="MaprTreeView_ContextMenuItemClick" Font-Names="Verdana" Font-Size="X-Small" ForeColor="Black" Font-Bold="True" OnNodeExpand="MaprTreeView_NodeExpand" RetainScrollPosition="True" EnableDragAndDrop="True" OnNodeDrop="MaprTreeView_HandleDrop" Style="white-space: normal" EnableDragAndDropBetweenNodes="true"  Height="320px" >

 

 

 

 

 

 

 

 

 

 

 

0
Veselin Vasilev
Telerik team
answered on 13 Jan 2010, 01:51 PM
Hello swathi kajjam,

This is a thread regarding RadTreeView for Silverlight and I suggest we do not mix it with the ASP.NET Ajax counterpart. Please open a new support ticket or forum thread in the respective area.

Thank you for your understanding.

Sincerely yours,
Veskoni
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Ian
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Nadine
Top achievements
Rank 1
Victor
Telerik team
Stephen
Top achievements
Rank 2
Miroslav
Telerik team
swathi kajjam
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or