Home / Community & Support / Knowledge Base / RadControls for WPF / TreeView / Load on demand and expand empty nodes

Load on demand and expand empty nodes

Article Info

Rating: Not rated

Article information

Article relates to

 Load on demand and expanding empty nodes

Created by

 Ivan Efimov

Last modified

 11-18-2009

Last modified by

 Nikolay Atanasov


There are two aspects we need to cover to explain why we would need such a scenario.

  1. The first question is why we need the expander element in front of an empty node. This is because if we don't do that users will never be able to trigger the load on demand.
  2. The second question is why an infinite cycling element appears in the place of the expander element. This is because the developer should decide when an item is empty (without children) and mark it as an empty one.

Please review the attached example for more details.

Comments

There are no comments yet.
If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.