Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
KeyUp event not fired in EditorWithCombo if setting DropDownStyle to DropDownList
posted

Hi,

I put a combo editor in tree node using the following code, and subscribe the KeyUp event of the embedded editor. It works well before I set DropDownStyle to DropDownList.

After setting DropDownStyle to DropDownList, I found that editor_KeyUp is not invoked when the keyboard is pressed.

Could anyone tell me what the problem is? Thanks a lot!

 

UltraComboEditor editorControl= new UltraComboEditor();

editorControl.DropDownStyle = DropDownStyle.DropDownList;

node.Cells[column].EditorControl = editorControl;

EmbeddableEditorBase editor = node.Cells[column].EditorResolved;

editor.KeyUp += new KeyEventHandler(editor_KeyUp);

 

Parents Reply Children
No Data