This tutorial shows how to use the Populate on Demand feature in a data-driven tree view. The C1WebTreeView is bound to an XML Data Source, the XML elements are set through the Bindings Collection Editor, and the PopulateOnDemand property is enabled for specific tree items/nodes that have child items. This allows only the selected items/nodes the user clicks to be sent to the server via callbacks. As a result, C1WebTreeView can control large amounts of data and still perform the same as it would with small amounts of data.
Step 1: Add a New XML Data Source Through the Wizard
Step 2: Setting the Bindings for C1WebTreeView in the Bindings Collection Editor
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |