RadTreeView inside ScrollViewer doesnot scroll down during drag operation

5 posts, 0 answers
  1. Shifatullah
    Shifatullah avatar
    3 posts
    Member since:
    Feb 2008

    Posted 29 Jan 2009 Link to this post

    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.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 30 Jan 2009 Link to this post

    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.
  3. DevCraft banner
  4. Shifatullah
    Shifatullah avatar
    3 posts
    Member since:
    Feb 2008

    Posted 03 Feb 2009 Link to this post

    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
  5. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 03 Feb 2009 Link to this post

    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.
  6. Janu
    Janu avatar
    2 posts
    Member since:
    Aug 2007

    Posted 02 Nov 2010 Link to this post

    Hi Shifatullah,
    Can you please provide me the javascript to scroll the page while dragging the node?
Back to Top
DevCraft banner