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

RadTreeView inside ScrollViewer doesnot scroll down during drag operation

4 Answers 192 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Shifatullah
Top achievements
Rank 1
Shifatullah asked on 29 Jan 2009, 11:54 AM
I placed the RadTreeView control inside the ScrollViewer but when I take mouse pointer at the bottom, it is not scrolling down during drag operation.

Please tell some work around to it.

4 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 30 Jan 2009, 08:16 AM
Hello Shifatullah,

This feature is enabled with using the RadTreeView with its default ScrollViewer, otherwise we can not control external ScrollViewer for this operation.

What is the reason to put the treeview in a custom ScrollViewer?

Sincerely yours,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Shifatullah
Top achievements
Rank 1
answered on 03 Feb 2009, 11:27 AM
Hi Valentin,

Ok now, I have manually implemented the auto scrolling behavior on placing mouse at top most or bottom most during dragging.

TreeView's default ScrollViewer performs auto scrolling during dragging but it performs only if u keep mouse moving a little. If you stop moving, then scrolling also stops.

I needed a behavior as of Windows Folder's Tree during dragging. It scroll downs or up automatically when mouse is near the top region or bottom region and It does not require us to move the mouse pointer.

One more thing is that it seems that RadTreeView default ScrollView is not Silverlight based. It seems like of Browser's own scrollviewer becuase its appearance is same as I customized the appearance of my html control's scroll bars.

Is RadTreeView default scroll bar is not implemented in silverlight?

Thanks,

Shifatullah
0
Tihomir Petkov
Telerik team
answered on 03 Feb 2009, 12:35 PM
Hello Shifatullah,

Currently RadTreeView does not support the exact type of automatic scrolling you describe. However, if there is enough demand for it we will consider including it in the functionality of the control. As for the default scroll bar - it is implemented in Silverlight.

Sincerely yours,
Tihomir Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Janu
Top achievements
Rank 1
answered on 02 Nov 2010, 01:29 PM
Hi Shifatullah,
Can you please provide me the javascript to scroll the page while dragging the node?
Tags
TreeView
Asked by
Shifatullah
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Shifatullah
Top achievements
Rank 1
Tihomir Petkov
Telerik team
Janu
Top achievements
Rank 1
Share this question
or