This is a migrated thread and some comments may be shown as answers.

Adding data with webservices

1 Answer 39 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
pedrotti
Top achievements
Rank 1
pedrotti asked on 20 Jul 2012, 02:59 PM
Hello

I can't find, how to add a lot of data using webservices

For example

I have a list of persons, when i expand the name I want to complete de treeview with all of data (All of adresse, all of children, ....), and not have to do many return to the server

Personne
+Martin
+Durand

Expand Martin done
-Martin
     + Adresse
     + Child
     + ......

Is it possible.... ?

I can't found how to transform RadTreeNodeData to RadTreeNode


Does someone can help me !!!!????

Thank you

Anne




1 Answer, 1 is accepted

Sort by
0
Marbry
Top achievements
Rank 1
answered on 20 Jul 2012, 06:27 PM
Look up LoadOnDemand.

There are several ways to approach it, but all my tree content is generated in code, so when the user expands it at a certain level I just make a call to that which generates the nodes at that level, passing the node value which tells me what it is.  Then it just builds out all the child content for that node.
Tags
TreeView
Asked by
pedrotti
Top achievements
Rank 1
Answers by
Marbry
Top achievements
Rank 1
Share this question
or