RadListView | Select first 'latest' item

2 posts, 0 answers
  1. Justin
    Justin avatar
    1 posts
    Member since:
    Jan 2017

    Posted 20 Jan Link to this post

    I'm trying to make a RadListView select the first item that is the 'latest' from the server but I'm having an issue, http://i.imgur.com/hqwLM4V.png
  2. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 23 Jan Link to this post

    Hello Justin,

    Thank you for writing.

    The following snippet shows how you can select the first item:
    private void radButton1_Click(object sender, EventArgs e)
    {
        radListView1.SelectedIndex = 0;
        //or
        radListView1.SelectedItem = radListView1.Items[0];
     
    }

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top