I have Radcombobox inside Radgrid . I want it change focus to the next cell when enter key is pressed . I tried following the client events to blur the combobox but it does not work .
function blurComboBox(comboBox)
{
if (comboBox.get_dropDownVisible() && comboBox.get_closeDropDownOnBlur())
comboBox.hideDropDown() ;
comboBox.get_tableElement().className = "";
comboBox._selectItemOnBlur() ;
comboBox._focused = false ;
}
function HandkeKeyPress(sender, eventArgs) {
if (eventArgs.get_domEvent().keyCode == 13) {
blurComboBox(sender ) ;
}
}
Please kindly help me .
function blurComboBox(comboBox)
{
if (comboBox.get_dropDownVisible() && comboBox.get_closeDropDownOnBlur())
comboBox.hideDropDown() ;
comboBox.get_tableElement().className = "";
comboBox._selectItemOnBlur() ;
comboBox._focused = false ;
}
function HandkeKeyPress(sender, eventArgs) {
if (eventArgs.get_domEvent().keyCode == 13) {
blurComboBox(sender ) ;
}
}
Please kindly help me .