DropDown Keyboard-Navigation (PageUp/PageDown)

2 posts, 0 answers
  1. Ates
    Ates avatar
    15 posts
    Member since:
    Nov 2010

    Posted 22 Jul Link to this post

    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
  2. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 25 Jul 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.

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top