Hi Edvin Brudevoll,
From the code snippet you sent, it seems that you are going the right way. Therefore, I cannot tell where the cause for your issue might be.
However, I prepared a sample project implementing the desired functionality. Please note that I am using a Grid
to contain the RadTreeView,
because if you put the control inside a StackPanel,
won't be displayed. That`s because the size of the StackPanel
and it cannot limit the RadTreeView
Please have a look at the project and tell me if it works for you. Do not hesitate to ask if you need further assistance.
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