Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
WebDataTree Entire Tree Load-On-Demand
posted

Hi Folks -

Is there a way to load the first level of node but from client side?, I want to be able to render the tree with no nodes but when users iteract with an element at client side then trigger the load of first node level or/and all the nodes in the tree.

Thanks for your responses.  

Parents
No Data
Reply
  • 3147
    posted

    Hi,

    You can simply leave the tree's DataSource empty on initial page load, then assign the data source on a button click for example or whatever server-side event you need.

     Additionaly you can define a NoNodesTemplate to indicate that tree data has not been yet loaded.

     

Children