DropDown Keyboard-Navigation (PageUp/PageDown)

2 posts, 0 answers
  1. Alex
    Alex avatar
    26 posts
    Member since:
    Nov 2010

    Posted 22 Jul 2016 Link to this post


    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.

  2. Nasko
    Nasko avatar
    727 posts

    Posted 25 Jul 2016 Link to this post

    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.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top