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

DropDown Keyboard-Navigation (PageUp/PageDown)

1 Answer 93 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 22 Jul 2016, 03:24 PM

Hello

how can I use keys PageUp and PageDown in the DropDown of an AutoCompleteBox for navigation?

In the DropDown of an Combox it works but not in an AutoCompleteBox.

Thanks

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 25 Jul 2016, 07:55 AM
Hi Ates,

RadComboBox has a built-in functionality of navigation when the PageUp/PageDown key gets pressed. n order to achieve a similar behavior for RadAutoCompleteBox as well you need to implement if from scratch. For that purpose the PreviewKeyDown event of the AutoCompleteBox needs to be handled. Inside it you need to check if the key is PageUp/PageDown and if so to navigate to the desired index of the ListBox placed inside the Popup part of RadAutoCompleteBox.

We have created a sample project that demonstrates that approach and you could run and evaluate it.

Hope this helps.

Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
AutoCompleteBox
Asked by
Alex
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or