PopulateOnDemand equivalent in RadTreeView

2 posts, 0 answers
  1. Dimi
    Dimi avatar
    8 posts
    Member since:
    Nov 2010

    Posted 26 Mar 2011 Link to this post

    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

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Mar 2011 Link to this post

    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.
Back to Top