In order to achieve this you'll need to use the HierarchicalDataTemplate. You can read more about it here
For further references could you please examine the attached project and if you have more questions feel free to ask.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>