Hi, Is it possible to assign different templates to different nodes based on the value of a database field? I am binding the treeview to the results of a stored procedure.
Thanks in advance!
1 Answer, 1 is accepted
0
Nikolay Tsenkov
Telerik team
answered on 24 Sep 2010, 09:16 AM
Hi Darren,
Recently, we have rolled out a new server event - TemplateNeeded. You can handle this event (it's thrown for every node), checking the DataItem of the node (checking a specific column) and applying template with respect to this.
Hope this is helpful for you!
Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items