This is a migrated thread and some comments may be shown as answers.

RadListView | Select first 'latest' item

1 Answer 320 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 21 Jan 2017, 02:34 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Jan 2017, 12:19 PM
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.
Tags
ListView
Asked by
Justin
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or