I have a RadCombobox that basically has a static list of usually 8-9 coded prices something like this:
I want the user to be able to be able to hit 'F', 'E', 'D' to select the corresponding price in the dropdown list, but I can find no easy way to do it without directly handling keyboard input in the OnClientKeyPressing client side event.
I tried ...
... but to no avail. Is there any easier way to do this that I am missing?
Thanks,
Kevin
| F - $1.50 ea. |
| E - $2.50 ea. |
| D - $3.50 ea. |
| etc... |
I want the user to be able to be able to hit 'F', 'E', 'D' to select the corresponding price in the dropdown list, but I can find no easy way to do it without directly handling keyboard input in the OnClientKeyPressing client side event.
I tried ...
| protected void selTabCode_ItemDataBound(object sender, RadComboBoxItemEventArgs e) { |
| TabCodePrice tcp = null; |
| if(e.Item == null || (tcp = e.Item.DataItem as TabCodePrice) == null) |
| return; |
| e.Item.AccessKey = tcp.TabCode; |
| } |
... but to no avail. Is there any easier way to do this that I am missing?
Thanks,
Kevin