It would be really great if the autocomplete box could handle the page up/down key to skip multiple entries at once. As we have like 200 entries in the list it would be a great advancement for the users using the keyboard.
Already tried your example from the forum but it is not functional.
All the best!
Hello Dominik,
Actually, we decided to introduce a HighlightedIndex property which you can use to manually change the highlighted item upon button click. This would now work for both the Page Up and Page Down keys as well as the Home and End keys and also give users the ability to customize the number of items to be scrolled. Here's an example of how the new property can be used:
public class CustomAutoCompleteBox : RadAutoCompleteBox
{
protected override bool HandleKeyDown(Key systemKey)
{
if (systemKey == Key.PageDown)
{
this.HighlightedIndex += 10;
return true;
}
if (systemKey == Key.PageUp)
{
this.HighlightedIndex -= 10;
return true;
}
return base.HandleKeyDown(systemKey);
}
}
Regards,
Dilyan Traykov
Progress Telerik
Hello Dominik,
Thank you for your feedback.
Indeed, such a feature seems reasonable and I have thus added this item to our internal backlog so we can prioritize it and plan it in the future. Please follow the item to get notified about any changes in its status.
Regards,
Dilyan Traykov
Progress Telerik