Hi, I'm relatively new to using Telerik controls.
I've built a listbox containing usernames. I want to navigate the listbox using the letters on the keyboard as well as the currently supported directional keys.
I've implemented a onkeypress listener to execute the following
|RadListBoxItem docQueue = this.lstDocQueue.FindItem(letter.ToString());
|this.lstDocQueue.SelectedItem = docQueue.Text;
|RadListBoxElement element = (RadListBoxElement)this.lstDocQueue.RootElement.Children;
It scrolls and selects the RadListBoxItem I want, but if I hit the up or down key, it moves to the next/prev index of the prev RadListBoxItem and not the current one.
I have a listbox consisting of Adam, Adrian, James, John
Original selection is Adam.
If I hit J, it scrolls to James which is expected.
If I hit down, it highlights Adrian and not John, which is incorrect.
If you can point me in the right direction that would be very helpful. Thanks.