Sort by Checked Item

4 posts, 0 answers
  1. Tim
    Tim avatar
    14 posts
    Member since:
    Nov 2012

    Posted 26 Feb 2013 Link to this post

    Is there a way to sort the contents of RadListBox using checkboxes by the checked items. I'd like to display the checked items at the top of the list.

    Thanks. All help is appreciated.
  2. Bozhidar
    Bozhidar avatar
    1183 posts

    Posted 27 Feb 2013 Link to this post

    Hello Tim,

    This can easily be achieved with the following line:
    RadListBox1.Items.Sort(i => !i.Checked);


    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Pedro
    Pedro avatar
    1 posts
    Member since:
    Nov 2016

    Posted 30 Nov 2016 in reply to Bozhidar Link to this post

    This method with lambda expression parameter is available in which version?
  4. Bozhidar
    Bozhidar avatar
    1183 posts

    Posted 01 Dec 2016 Link to this post


    It's available in every version after Q1 2013.

    Telerik by Progress
    Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.
Back to Top