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

LoadOnDemand - Webservice - Expand/Collapse Images

3 Answers 60 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 03 Dec 2008, 04:23 PM
Hello,

when I use LoadOnDemand with a Webservice, I return the a List of nodes which are added to the clicked node. How can I set property of the added nodes, if they are expandable or not. In my situation all returned nodes have the +/- images indicating, that they are expandable.
I tried to the the ExpandMode to Clientside, but this did not work.

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 03 Dec 2008, 04:33 PM
Hello Christian,

Please check our online example.

Kind regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 03 Dec 2008, 08:09 PM
Nice example,but I don't even find the Webservice Method:
GetTreeViewCategories

Can you help me please

Thank you,
Christian
0
Christian
Top achievements
Rank 1
answered on 04 Dec 2008, 10:00 AM
Ok, I found the solution,

when I add the node, and the node has childnodes, I set the expandMode to Webservice.
When I add the node, and the node has no childnodes, I don't set any expandMode.
I was looking for an Enumeration-Value expandMode.None :)

My fault.

Thank you
Christian
Tags
TreeView
Asked by
Christian
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Christian
Top achievements
Rank 1
Share this question
or