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

[Solved] Nodetemplates serverside

1 Answer 172 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Support Riskminder
Top achievements
Rank 1
Support Riskminder asked on 24 Jan 2008, 12:15 PM
Hi All

I am in the middle of implementing the latest build of the prometheus version of the treeview control.

I have a lot of nodes in my tree so i am using the load on demand serverside callback feature, and the treeview is wrapped in a AJAX updatepanel.

So far so good.

What i need to do is set the nodes NodeTemplate from the code behind when the user expands the node, but i can't seem to figure this out. There is no uniqueID or anything else on the nodetemplate, so i cannot refer the node to it.

How do i set the nodetemplate server side ?

Best regards
Bo

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 24 Jan 2008, 02:39 PM
Hi Bo Pedersen,

I suggest you check this online article: How to add and edit templates Runtime

Hope this helps.

All the best,
Veskoni
the Telerik team

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