Sorting in a RadTreeview

4 posts, 0 answers
  1. Paul Brun
    Paul Brun avatar
    41 posts
    Member since:
    May 2010

    Posted 14 Dec 2010 Link to this post

    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
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 16 Dec 2010 Link to this post

    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
  3. DevCraft banner
  4. Paul Brun
    Paul Brun avatar
    41 posts
    Member since:
    May 2010

    Posted 16 Dec 2010 Link to this post

    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
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 21 Dec 2010 Link to this post

    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
Back to Top