Sort item as another data from itemssource

2 posts, 1 answers
  1. Son
    Son avatar
    13 posts
    Member since:
    Sep 2013

    Posted 27 Jan Link to this post

    I have a radlistbox which has images, title and createddate of them. I showed images and title but i don't know what this listbox sort by. How can i sort listbox by createddate?

    Something likes 

                                    <telerik:RadGridView.SortDescriptors>
                                        <telerik:SortDescriptor Member="DateCreate" SortDirection="Ascending" />
                                    </telerik:RadGridView.SortDescriptors>

    of gridview.

    Such as 'example.png', ListBox shows image and title, I want it to sort by created date.

     

  2. Answer
    Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 29 Jan Link to this post

    Hello Son,

    Please, check the attached sample that demonstrates how to a add the desired SortDescription to RadListBox and thus sort the items by date.

    We hope this will help you.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top