on 04-14-2011 12:43 PM
Hi All,
How can I load an entire tree in a single method ( even recursive) without using "OnLoadChildren" event.
Thanks.
It is not really easy to explain . You have to arrange your context_node such a way that you have the data in one context node.
I have done something like this.
Tree_root ..(0..n)
tree_type (0..n)
recurursive_node
- hasChildren
- isExpanded
- Description
In the ViewLayout.
Tree UI element DataSource is binded to the Tree_root.
TreeNodeType datasource is binded to tree_type. also bind the hasChildren,isExpanded to the concern properties in TreeNodeType.
Bind the Text property to the Description attribute.
Now, you should make sure that the about Context is getting filled correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.