﻿
function dkconfig_DropDownListKeyUp(oButtonlist, oSubmit, oEvent)
{
    if(oEvent != null)
    {
    var iKeyCode = -1;

    iKeyCode = oEvent.which != null ? oEvent.which : (oEvent.keyCode != null ? oEvent.keyCode : -1);       

    dkconfig_DropDownListKeyPress(oButtonlist, oSubmit, iKeyCode);
    }
}

function dkconfig_DropDownListKeyPress(oListBox, oSubmit, iKeyCode)
{
  if(oSubmit != null)
  {
    if(iKeyCode == 13)
    {
      oSubmit.click();
    }
  }
}


//function dkconfig_NumericTextBoxKeyUp(oEdit)
//{
//    oEdit.blur();
//    oEdit.focus();
//    
//}
