Virtual Scroll

4 posts, 0 answers
  1. Paulo Goncalves
    Paulo Goncalves avatar
    26 posts
    Member since:
    Aug 2004

    Posted 17 Jun 2011 Link to this post

    There are any workaroud to implement Virtual Scroll at treeview ?

    Thanks

    Paulo
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 22 Jun 2011 Link to this post

    Hello Paulo,

    Could you, please, be a bit more specific and explain this in a bit more detail?
    Do you mean something like described in this article for RadGrid: http://www.telerik.com/help/aspnet-ajax/grid-virtual-scroll-paging.html


    Regards,
    Nikolay Tsenkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paulo Goncalves
    Paulo Goncalves avatar
    26 posts
    Member since:
    Aug 2004

    Posted 22 Jun 2011 Link to this post

    Hi Nikolay,

    yes, this same Grid feature but at treeview with hierarchy nodes.

    My application need show a treeview with 20000 nodes in the same level.

    Thanks

    Paulo
  5. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 27 Jun 2011 Link to this post

    Hi Paulo,

    There isn't such a feature for RadTreeView.

    My suggestion is to implement it the following way:
     - in each node collection the last node, to be with Text "More..." and handling the ClientNodeClicked event to detect whether this particular node has been clicked. Then you need to call a script service with information of the requested page of nodes. The WebMethod in this service can return a RadTreeNodeData[] array which will be serialized to JSON. When the assigned callback (you should assign callback to the web service request) is called, you can iterate through the received RadTreeNodeData and create new nodes and insert them just before the "More..." - named node.

    I hope this is helpful for you.


    Regards,
    Nikolay Tsenkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top