This is a migrated thread and some comments may be shown as answers.

Sorting in a RadTreeview

3 Answers 119 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Paul Brun
Top achievements
Rank 2
Paul Brun asked on 14 Dec 2010, 02:11 PM
Just wondering if any developer out there in the Telerik Community has suggestions on how to sort items in a Silverlight RadTreeview. The RadTreeView items are data-bound by a database, but I doubt there is any sorting capability as the items are nested, etc.

Thoughts?

Paul

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 16 Dec 2010, 04:11 PM
Hi Paul Brun,

You can check this demo. Let us know if it works for you.

Best wishes,
Tina Stancheva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Paul Brun
Top achievements
Rank 2
answered on 16 Dec 2010, 04:27 PM
The end result of having the items sorted is what I am looking for (i.e., by product name), but not sure if the sorting is
performed by an internal control, or from within the DataContext layer?

Paul
0
Petar Mladenov
Telerik team
answered on 21 Dec 2010, 04:54 PM
Hi Paul Brun,

In the provided example the sorting is realized by functions defined in the DomainService class (NorthwindDomainRIAContext in the example). Please feel free to ask if you need further assistance.
We would be glad to help you.

All the best,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
TreeView
Asked by
Paul Brun
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Paul Brun
Top achievements
Rank 2
Petar Mladenov
Telerik team
Share this question
or