is a client function that counts the nodes that are currently present in the TreeView's client object. When using LoadOnDemand the nodes are added dynamically when requested. Therefore it's not possible to get a reference to all client objects, without them first being populated.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed