LoadOnDemand

Description

C1TreeView supports retrieving data (nodes) dynamically. Child nodes are loaded using AJAX when their parent is expanded.

To enable loading data on demand, the following properties are used in this sample:

  • LoadOnDemand - set to True so that the C1TreeView will load only partial data.
  • DataBindStartLevel - for specifying which level to start loading dynamically.

If DataBindStartLevel property is set to 0, only root nodes will be bounded at first. In turn, if 1, then both root and first-level nodes will be bound. Its default value is -1, which indicates that this property will be ignored.

Documentation