Hi Henrik,
I absolutely agree with you that an easier way is needed.
Let's move the discussion here, and to make sure that we are all on the same track, so we can have this implemented in the best way for the official release.
So the scenario that need to be adressed is:
You have a reference to the data Item and you want to get a reference to the ItemContainer (e.g. the RadTreeViewItem instance), so you can do some specific actions over the container - e.g. Select, Check, Expand, etc..
To do this you can use the
ContainerFromItemRecursive method, but it will not work for items that are not yet generated. We need a way to remove this limitation.
Is this the correct scenario of the problem?
Sincerely yours,
Valentin.Stoychev
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.