How to add custom sorting to rad tree list

2 posts, 0 answers
  1. Uma
    Uma avatar
    18 posts
    Member since:
    Jan 2012

    Posted 03 Feb 2012 Link to this post


    I need to add our own sorting to tree list.

    Is it possible?

    I need to sort the tree list value by alphabetical order.

    i need to show the alphabetical letters(a to z).with link.

    when the user click the a button, it sort the tree list with starting letter of a values.

    Is there any way to achieve this?

  2. Tsvetina
    Tsvetina avatar
    1861 posts

    Posted 08 Feb 2012 Link to this post

    Hi Uma,

    You could fire a SortCommand in the click handler of the button with the needed parameters. You can see how this can be done here:

    Alternatively, you could directly pass a sorted datasource to RadTreeList on button click and call Rebind() for it.

    Let us know if you have difficulties with using these approaches.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top