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

[Solved] Can you use ExpandMode="WebService" with templates that use databinding?

1 Answer 62 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 15 May 2008, 12:33 PM

If I have a template which uses databinding:-

<NodeTemplate>
    <%# DataBinder.Eval(Container.DataItem, "Column1") %>
</NodeTemplate>


can I also use ExpandMode="WebService"? If so, how?

Thanks,
Martin

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 15 May 2008, 02:18 PM
Hi Martin,

Templates will not work with nodes added via a WebService. This is due to the fact that the nodes are added only at the client-side. I hope that this is not a major show-stopper for you.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Martin
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or