Sort by Checked Item

4 posts, 0 answers
  1. Tim
    Tim avatar
    12 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
    Admin
    Bozhidar avatar
    1102 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,
    Bozhidar
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pedro
    Pedro avatar
    1 posts
    Member since:
    Nov 2016

    Posted 30 Nov in reply to Bozhidar Link to this post

    This method with lambda expression parameter is available in which version?
  5. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 01 Dec Link to this post

    Hello,

    It's available in every version after Q1 2013.

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