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

Navigation keys

1 Answer 8 Views
ListView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 24 Jan 2017, 10:38 AM

Hi,

How can i implement the use of the up/down arrow and home- and end-key?

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 26 Jan 2017, 07:37 AM
Hello John,

The RadListView allows customers to control the selection via code.You can find more information in our documentation.  In your case you can take advantage of the SelectedItem property. In your application you can listen for any of the arrows pressed event and you will be able to determine if you need to select the next or previous item. To select it you can first get the index of the currently selected item and add or remove 1 to it, get that respective item and set it as SelectedItem.

As for the navigation using the Home and End buttons you can take advantage of the programmatic scrolling.

I hope this information is helpful.

Regards,
Pavel R. Pavlov
Telerik by Progress
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
Tags
ListView
Asked by
John
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or