Hi,
I have a RadTreeView that I populate client-side. This works ok. However, I have to load too many data for the plus signs to render correctly. A plus sign is not rendered if a node has no child nodes. Getting the child nodes themselves is an expensive operation, however, so I'd like to postpone fetching them until the client-side ClientNodeExpanding event occurs.
A small example: I have a tree with one root node: A. A has a number of child nodes: x, y, z. What I'd like to to is add A to the tree but not add x, y, z to A. If I do this, no expand control (plus) is rendered. That makes sense because A does not have children. However, adding x, y, z to A just to make sure that A is rendered as an expandable node is too expensive. I'd like to tell node A that it has children but not yet add them.
Is this possible?
Kind regards,
Flores
I have a RadTreeView that I populate client-side. This works ok. However, I have to load too many data for the plus signs to render correctly. A plus sign is not rendered if a node has no child nodes. Getting the child nodes themselves is an expensive operation, however, so I'd like to postpone fetching them until the client-side ClientNodeExpanding event occurs.
A small example: I have a tree with one root node: A. A has a number of child nodes: x, y, z. What I'd like to to is add A to the tree but not add x, y, z to A. If I do this, no expand control (plus) is rendered. That makes sense because A does not have children. However, adding x, y, z to A just to make sure that A is rendered as an expandable node is too expensive. I'd like to tell node A that it has children but not yet add them.
Is this possible?
Kind regards,
Flores