The AppendDataBoundItems property on Teleriks RadTreeView control allows you to bind data along side your static values.
So your tree might look like
- Static Item A
- Static Item B
- Static Item C
- Databound Item A
- Databound Item B
- Databound Item C
But I’d like to have all my bound values under a specific node, like
- Static Item A
- Static Item B
- Static Item C
- Databound Item A
- Databound Item B
- Databound Item C
I do realize I can manipulate the data to accomplish this effect, but I’m not comfortable moving UI code into my stored proc.
Is there any other way?
I’m starting to think this isn’t possible, so I just added the items myself.
For future reference to anybody else looking for how to do this, here is the manual way.
Default2.aspx
And my code behind file is