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

PopulateOnDemand equivalent in RadTreeView

1 Answer 72 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Dimi
Top achievements
Rank 1
Dimi asked on 26 Mar 2011, 10:12 AM

Hi,

I'm currently using asp:treeview and considering changing to RadTreeView. In order to avoid lots of rework I like to know whether
there is an equivalent to the PopulateOnDemand property of the asp:treeview node  in the RadTreeView.

When this property is set to True (in code behind whilst manually loading the tree-nodes) the treeview will add the expand image ('+' sign), when clicked, the server side
OnTreeNodePopulate event will be called. New nodes can then be added. See also:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treenode.populateondemand.aspx


tx

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Mar 2011, 11:05 AM
Hello,


Telerik RadTreeView supports "Load-On-Demand" feature that allows child nodes to be added on the fly as parent nodes are expanded.

The NodeExpand event fires when the "+" icon is clicked. This event provides the opportunity to add nodes based on the identity of the clicked-on parent node.

For more information about the functionality:
Load On Demand Overview
Server-Side Load On Demand

And the demo: TreeView / Load on Demand Modes


Thanks,
Princy.
Tags
TreeView
Asked by
Dimi
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or