I am binding a function to the treeView's dataBound event. I'm using a hierarchical data source with a remote url (web api). I have found that the event fires once before any data is loaded, again when it is loaded, and again for each time I expand a node. I know lazy loading is enabled by default, but even so I can see in the network traffic that the entire hierarchical data items are loaded just once. I guess the tree re-binds at each node Expand. Then I disabled lazy loading, and now the event fires four times after loading the remote data! My tree has four top-level nodes, so perhaps once for each node?
I'd like a dataBound event that fires once and only once, after the data is all loaded.