So I have RadListBox implemented into my page and I need to add some additional on keyDown functionality
I attached on OnClientLoad a keydown event to the .rlbGroup class - it is getting into the function and doing the stuff that I am telling it to however there are some issues:
1. I am unable to remove the .rlbActive class from previously selected item
so RadListBox.get_items().get_item(0).removeClass('.rlbActive') is not an option
I tried using _activateItem() since I believe it is deactivating the current rlbActive in itself without success also. The DOM does not give me idea how to properly get rid of the active class at all.
Some assistance would be appreciated. It is an option to disable the rlbActive class completely - How can I do that without risking creating a bug in the control?
Self answered: 2. on clicking on the control I am unable to fire my the keydown function (I can fire it if I move focus to the control via TAB key)
What is the proper way to set focus on the RadListBox.get_items()?
What I have tried so far is using event 'focusing' in OnClientLoad attaching to .rlbGroup
Any idea or even general information is welcome