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.
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.
Hi Nikola,
Thanks taking the time to give some ideas on this requirement.
Your point may work when postback is not an issue. What Im looking here is to bind or load on demand (users iteration) but from client side, I mean users iteration will trigger the load of the entire tree but from should be done with an out of band call. I do not want to perform a postback to get the tree filled.
Thanks
Thanks.
In that case you may wrap the tree in an UpdatePanel to avoid a full postback.
Hello,
Please let me know if you have any other questions on this issue.
Thanks,
Valerie
Hi Valerie -
Thanks for you following this. Unfortunatelly I'm not allowed to use update pannel control to avoid the full postback of the page as Nikola suggested.
We hope this feature is available in the short term so we can think to use this control again either on this requirement or future ones.
Regards.
The CTP allows client-side binding for the WebDataTree.
Do you have any questions about the CTP and WebDataTree binding?