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

Virtual Scroll

3 Answers 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Paulo Goncalves
Top achievements
Rank 2
Paulo Goncalves asked on 17 Jun 2011, 08:34 PM
There are any workaroud to implement Virtual Scroll at treeview ?

Thanks

Paulo

3 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 22 Jun 2011, 12:14 PM
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.

0
Paulo Goncalves
Top achievements
Rank 2
answered on 22 Jun 2011, 02:56 PM
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
0
Nikolay Tsenkov
Telerik team
answered on 27 Jun 2011, 11:11 AM
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.

Tags
TreeView
Asked by
Paulo Goncalves
Top achievements
Rank 2
Answers by
Nikolay Tsenkov
Telerik team
Paulo Goncalves
Top achievements
Rank 2
Share this question
or