This example demonstrates how the GridLookUpEdit can be customized to look like the ImageComboBoxEdit. This approach allows you to implement the data-bound ImageComboBox editor.
Question Comments
Added By: Lars Wuckel HHK at: 6/25/2014 1:04:44 AM
I get an exception if I press a key for searching a item:
bei DevExpress.XtraEditors.GridLookUpEdit.FindUpdatePopupSelectedItem(Int32 itemIndex)
bei DevExpress.XtraEditors.PopupBaseAutoSearchEdit.ProcessFindItem(KeyPressHelper helper, Char pressedKey)
bei DevExpress.XtraEditors.PopupBaseAutoSearchEdit.ProcessAutoSearchChar(KeyPressEventArgs e)
bei DevExpress.XtraEditors.GridLookUpEdit.ProcessAutoSearchCharCore(KeyPressEventArgs e)
bei DevExpress.XtraEditors.Popup.PopupGridLookUpEditForm.ProcessKeyPress(KeyPressEventArgs e)
bei DevExpress.XtraEditors.Popup.SimplePopupBaseForm.OnKeyPress(KeyPressEventArgs e)
bei System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
bei System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
bei System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
bei System.Windows.Forms.Control.WmKeyChar(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
bei DevExpress.XtraGrid.GridControl.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
bei WindowsApplication1.Program.Main() in c:\Users\lwuckel\Documents\Samples\XtraEditors Library\14.1.4\E2200\K18394\WindowsApplication1\Program.cs:Zeile 27.
bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
for this issue the popup has to be open while you typing
Added By: Svetlana (DevExpress Support) at: 6/25/2014 8:53:23 AM Hi,I have extracted your inquiry to a separate ticket . Please refer to it.